Source: https://01router.com/docs/prompt-detail Base URL: https://01router.com/api/v1 # Prompt details Replace with an id from the list. Returns a prompt object directly with object: "prompt" and the same fields as one data item, without a data wrapper. Only publicly visible records for the requested locale are returned. `GET /api/v1/prompts/{id}` Public · No API key ## Input parameters | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | id | string · path | yes | Replace with an id from the list. Returns a prompt object directly with object: "prompt" and the same fields as one data item, without a data wrapper. Only publicly visible records for the requested locale are returned. | | | locale | string | no | Optional: en or zh; defaults to en. Includes matching-language and language-neutral records. Also supported by the detail endpoint. | default: "en"; options: [ "en", "zh" ] | ## Response fields | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | object | "prompt" | — | prompt | | | prompt | string | — | Published prompt objects: id, title, prompt, category, source, mediaType, mediaUrl, modelSlug and modelName. | | | modelSlug | string | — | Model slug from the catalog. Project keys may use a project-specific model slug. | | ## cURL ```bash curl 'https://01router.com/api/v1/prompts/prompt_example?locale=en' ``` ## 200 · application/json ```json { "object": "prompt", "id": "prompt_example", "title": "Cinematic landscape", "prompt": "A cinematic landscape at sunrise.", "category": "Cinematic Story", "source": "evolink.ai", "mediaType": "video", "mediaUrl": "https://example.com/video.mp4", "modelSlug": "seedance-2.5", "modelName": "Seedance 2.5" } ``` ## Usage notes - Invalid parameters return 400. Missing, disabled or locale-unavailable model categories and prompts return 404. Valid categories with no matching results return 200 and empty data. Requests to the same path are limited by IP to intervals of at least 200 ms; 429 includes Retry-After. Successful responses are cacheable for 60 seconds.