Skip to main content
PUT
/
v0
/
applications
/
{id}
Update an existing application
curl --request PUT \
  --url https://api.avidoai.com/v0/applications/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>' \
  --data '
{
  "title": "Customer Support Bot",
  "slug": "customer-support-bot",
  "description": "AI assistant for customer support inquiries",
  "context": "You are a helpful customer support assistant...",
  "language": "en",
  "type": "CHATBOT",
  "environment": "DEV",
  "humanAnnotationEnabled": false
}
'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "orgId": "org_123456",
    "title": "Customer Support Bot",
    "slug": "customer-support-bot",
    "description": "AI assistant for customer support inquiries",
    "context": "You are a helpful customer support assistant...",
    "language": "en",
    "type": "CHATBOT",
    "environment": "DEV",
    "humanAnnotationEnabled": false,
    "createdAt": "2024-01-05T12:34:56.789Z",
    "modifiedAt": "2024-01-05T12:34:56.789Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.avidoai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Path Parameters

id
string<uuid>
required

The unique identifier of the application

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Request body for updating an existing application

title
string

Title of the application

Minimum string length: 1
Example:

"Customer Support Bot"

slug
string

URL-friendly slug for the application

Minimum string length: 1
Example:

"customer-support-bot"

description
string

Description of the application

Maximum string length: 2048
Example:

"AI assistant for customer support inquiries"

context
string

Context/instructions for the application

Maximum string length: 8192
Example:

"You are a helpful customer support assistant..."

language
enum<string>

Language of the application.

Available options:
da,
de,
en,
es,
fr,
it,
nl,
pt,
sv
Example:

"en"

type
enum<string>

Type of the application

Available options:
CHATBOT,
AGENT
Example:

"CHATBOT"

environment
enum<string>
default:DEV

Environment of the application

Available options:
DEV,
PROD
Example:

"DEV"

humanAnnotationEnabled
boolean

Whether human annotation is enabled for this application

Example:

false

Response

Successfully updated application

Successful response containing the application data

data
Application · object
required

Application configuration and metadata