cURL
curl --request POST \ --url https://api.aivra.cloud/v1/integration/prompts \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "project_id": "<string>", "key": "<string>", "name": "<string>", "description": "<string>" } '
{ "id": "<string>", "project_id": "<string>", "key": "<string>", "name": "<string>", "description": "<string>", "latest_version_id": "<string>", "created_at": "2023-11-07T05:31:56Z" }
project_id
key
name
description
id
latest_version_id
created_at
curl -X POST "${BASE_URL}/v1/integration/prompts" \ -H "X-API-Key: ak_xxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "project_id": "proj_abc", "key": "onboarding", "name": "Onboarding", "description": "Fluxo inicial" }'
OK
Was this page helpful?