curl --request PUT \
--url https://platform.versori.com/api/v2/o/{organisation_id}/automations/{automation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"promptTemplate": "<string>",
"secrets": [
{
"name": "<string>",
"value": "<string>"
}
]
}
'{
"id": "<string>",
"name": "<string>",
"promptTemplate": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"secretNames": [
"<string>"
]
}UpdateAutomation updates the name or prompt template of an existing automation.
curl --request PUT \
--url https://platform.versori.com/api/v2/o/{organisation_id}/automations/{automation_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"promptTemplate": "<string>",
"secrets": [
{
"name": "<string>",
"value": "<string>"
}
]
}
'{
"id": "<string>",
"name": "<string>",
"promptTemplate": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"secretNames": [
"<string>"
]
}Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.