Call Imports
Update a schema's metadata and/or replace its parameter list.
When parameters is included in the body, the new list FULLY
REPLACES the existing parameters (delete-then-insert in one
transaction). Existing CallImport batches that reference this
schema keep their snapshotted parameter_mapping unchanged - we
don't try to retro-validate historical mappings against the new
schema shape.
AuthorizationBearer <token>
JWT access token. Use: Authorization: Bearer .
In: header
Path Parameters
schema_id*Schema Id
Format
uuidHeader Parameters
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null
X-Workspace-Id?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Patch body for an existing schema (full parameter replacement).
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/v1/call-import-schemas/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "name": "string", "description": "string", "parameters": [ { "name": "string", "type": "conversation_id", "description": "string", "is_required": false, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ordering": 0 } ], "usage_count": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}Community & contact
- Found a bug or have a feature request? Open a GitHub issue.
- Join our Discord for faster replies!
