Get history for specific prompt
Deprecated. Superseded by GET /api/jobs/{job_id}, which returns the same execution record. Planned for removal no earlier than a future major release; sunset timeline TBD.
Retrieve detailed execution history for a specific prompt ID. Returns full history data including complete prompt information.
Path parameters
The prompt ID to retrieve history for
Response
Success - History for prompt retrieved
Detailed execution history response for a specific prompt. Returns a dictionary with prompt_id as key and full history data as value.
Changes
Changed in 6 of the 38 revisions of this API.4613
- ▲
removed the required property
errorfrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
errorfrom the response with the404statusresponse-required-property-removed
- ○
api tag
workflowaddedapi-tag-added
- ○
api tag
historyremovedapi-tag-removed
- ○
for the
pathrequest parameterprompt_id, the type/format was generalized fromstring/uuidtostring/request-parameter-type-generalized
- ○
added the optional property
detailsto the response with the500statusresponse-optional-property-added
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
codebecame required for the status404response-property-became-required
- ○
added the required property
messageto the response with the401statusresponse-required-property-added
- ○
added the required property
messageto the response with the404statusresponse-required-property-added
This revision also has 130 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the required property
idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
statusfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
completed_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
created_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
outputsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
preview_outputfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
started_atfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
workflowfrom the response with the200statusresponse-optional-property-removed
- ▲
- ○
api operation id
getHistoryV2ByPromptIdremoved and replaced withgetHistoryForPromptapi-operation-id-removed
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
- ○
endpoint deprecated
endpoint-deprecated
- ○
- ○
endpoint added
endpoint-added
- ○
- ○
api path removed with deprecation
api-path-removed-with-deprecation
This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○