Fetch Assistant from Provider
Fetches assistant name and system prompt from an external voice provider.
POST
https://api.futureagi.com/simulate/api/agent-definition-operations/fetch_assistant_from_provider/ Authentication
Request body
assistantId
The assistant ID from the external provider’s platform.
apiKey
API key for the external voice provider.
provider
The voice provider to fetch from. Values: "vapi", "retell", "elevenLabs", "others".
name
Name override; returned instead of the provider-fetched name.
prompt
Prompt override; returned instead of the provider-fetched system prompt.
commitMessage
Commit message. Auto-generated with a timestamp if omitted.
Response
200 OK assistantId
The requested assistant ID.
apiKey
The provider API key used.
name
Assistant name from the provider or the override.
prompt
System prompt from the provider or the override.
provider
The queried provider.
commitMessage
Provided or auto-generated commit message.
Errors
400
Provider returned an error (invalid API key or assistant ID).
401
Invalid or missing API credentials.
500
Unexpected server error.