cURL
curl --request POST \ --url 'https://api.example.com/api/v1/assistant/{assistant_id}/data_source/{datasource_id}?api_key='
{ "message": "Data created successfully", "meta": {}, "data": { "assistant_type": "simple", "llm_model": "gpt-4-0125-preview", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "attributes": {}, "system_prompt": "", "voice": false, "custom_voice": false, "voice_languages": [ "en-US", "de-DE", "mr-IN", "hi-IN" ], "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "show_images": false, "hide_ds": false, "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "has_human_agent": false, "use_tools": false, "conversation_flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
add an existing data source to an assistant
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
The UUID id of the assistant
Successful Response
Show child attributes
Was this page helpful?