curl --request GET \
--url https://api.portkey.ai/v1/prompts/partials/{promptPartialId} \
--header 'x-portkey-api-key: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"string": "<string>",
"version": 123,
"version_description": "<string>",
"prompt_partial_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"status": "active"
}
curl --request GET \
--url https://api.portkey.ai/v1/prompts/partials/{promptPartialId} \
--header 'x-portkey-api-key: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"string": "<string>",
"version": 123,
"version_description": "<string>",
"prompt_partial_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"status": "active"
}
Prompt partial details
The response is of type object
.
Was this page helpful?