Retrieve a prompt
GET/api/v1/prompts/:prompt
Retrieve a prompt
Request
Path Parameters
prompt stringrequired
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
content string
createdAt date-time
error string
hash string
id string
name string
tags string[]
version integer
{
"content": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"error": "string",
"hash": "string",
"id": "string",
"name": "string",
"version": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...