cURL
curl --request POST \ --url https://api.example.com/v1/contexts \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "name": "<string>", "prompt": "<string>", "opening_text": "<string>", "links": [ { "url": "<string>", "faq": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ] } '
{ "code": 100, "data": { "name": "<string>", "prompt": "<string>", "opening_text": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "links": [ { "url": "<string>", "faq": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ] }, "message": "<string>" }
Create a new user context record
Show child attributes
Successful Response
Was this page helpful?