Syndai Docs

Get a run's prompt

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/runs/{coding_run_id}/prompt

Read the exact prompt a run was started with, unredacted and uncapped. A blank prompt or a run outside your workspace is a 404. Requires the coding:runs:create scope (starting it again is the use).

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

coding_run_id*string
Formatuuid

Query Parameters

customer_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
prompt*string
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/prompt'
Example Response
{  "prompt": "string"}
Was this page helpful?