Skip to main content
Discover how to get detailed information about your prompt, including metadata, available versions, tags, and variable definitions.

Get prompt details

You can get detailed information about a prompt by providing its slug.

Describe a specific Version

You can retrieve details about a specific version of a prompt by providing the version parameter.
If both version and tag are provided, version takes precedence. If neither is provided, the system attempts to find the production tagged version

Describe a specific Tag

You can retrieve details about a specific tag of a prompt by providing the tag parameter.

Returned data

When you describe a prompt, the SDK returns detailed information about the prompt, including its metadata, variables, and available versions and tags.

Example response

Response example

Error handling

Discover how to properly handle errors coming from the SDK and/or the API by checking the Error Handling documentation