GET
/
apps
/
{appId}
/
prompts
/
{externalId}
/
major
/
undeployed
/
minor
/
{revisionId}
curl --request GET \
  --url https://api-v2.autoblocks.ai/apps/{appId}/prompts/{externalId}/major/undeployed/minor/{revisionId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "version": "<string>",
  "revisionId": "<string>",
  "templates": [
    {
      "id": "<string>",
      "template": "<string>"
    }
  ],
  "tools": [
    {}
  ],
  "toolsParams": [
    {
      "name": "<string>",
      "params": [
        "<string>"
      ]
    }
  ],
  "params": {
    "params": {}
  }
}

Authorizations

Authorization
string
header
required

API Key created in the Autoblocks Webapp

Path Parameters

appId
string
required
externalId
string
required
revisionId
string
required

Response

200 - application/json

The undeployed prompt was returned successfully

The response is of type object.