Skip to main content

Get OpenAPI definition

GET 

/v2/actor-builds/:buildId/openapi.json

Get the OpenAPI definition for Actor builds. Two similar endpoints are available:

  • First endpoint: Requires both actorId and buildId. Use default as the buildId to get the OpenAPI schema for the default Actor build.
  • Second endpoint: Requires only buildId.

Get the OpenAPI definition for a specific Actor build. Authentication is based on the build's unique ID. No authentication token is required.

note

You can also use the /api/v2/act-openapi-json-get endpoint to get the OpenAPI definition for a build.

Request

Path Parameters

    buildId string required

    ID of the build, found in the build's Info tab. Use the special value default to get the OpenAPI schema for the Actor's default build.


    Example: soSkq9ekdmfOslopH

Status 200

The OpenAPI specification document for the Actor build.

Response Headers
    {}