API Reference
Assign a tag to a prompt (existing tagId or new name to upsert)
X-API-Key<token>
API Key for programmatic access
In: header
Path Parameters
promptId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/prompts/string/tags" \ -H "Content-Type: application/json" \ -d '{}'{ "promptId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "tagId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "High Priority"}