cURL
curl --request GET \ --url https://openapi.enginy.ai/v1/ai-variables/{aiVariableId} \ --header 'x-api-key: <api-key>'
{ "status": "success", "message": "<string>", "data": { "id": 123, "name": "<string>", "prompt": "<string>", "model": "<string>", "outputSchema": { "type": "text", "values": [ "<string>" ], "provideExplanation": true, "jsonSchema": "<string>" }, "search": true, "entity": "CONTACT", "folderId": 123, "customWebsiteField": "<string>", "description": "<string>", "isPublic": true, "archivedAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Retrieve a single AI variable by ID..
Required scope: AI_VARIABLES_READ Rate limit: 100 requests per minute
Required scope: AI_VARIABLES_READ
AI_VARIABLES_READ
Rate limit: 100 requests per minute
The AI variable ID
AI variable retrieved successfully
success
Show child attributes