REST APIPrompt
Get prompt
Retrieve one prompt by its id, with its text, type, country, tags and monitoring status. Use it to turn a prompt id into the prompt's own configuration.
Authorization
BearerAuth AuthorizationBearer <token>
API token authentication. Use format: Bearer ot_your-token-here
In: header
Path Parameters
prompt*string
Unique identifier for the prompt
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://app.useomnia.com/api/v1/prompts/550e8400-e29b-41d4-a716-446655440000"{
"data": {
"createdAt": "2026-01-01T09:30:00Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"isMonitoringActive": true,
"location": "us",
"query": "What is the best software for small businesses?",
"tags": [
"product",
"high-priority"
],
"topicId": "550e8400-e29b-41d4-a716-446655440001",
"type": "Non-Branded"
}
}{
"error": {
"code": 1002,
"description": "Invalid input parameters"
}
}{
"error": {
"code": 1004,
"description": "Invalid or expired API token"
}
}{
"error": {
"code": 1006,
"description": "Item not found"
}
}{
"error": {
"code": 1001,
"description": "Internal error"
}
}