agents

Update Agent

Update a agent. Accepts AgentUpdate Schema as input. Agent is identified by the id (agt_)

patch/agent/{agent_id}

Request

  • Base URL: https://api.overfit.de (the document declares no server; this is the origin it was published from)
  • URL: https://api.overfit.de/agent/{agent_id}
  • Auth: one of:
    • OpenID Connect (https://auth.okns.de/realms/overfit-products/.well-known/openid-configuration)
    • API key in header X-API-Key

Path parameters

agent_idstring required

Request body

namestring nullable
descriptionstring nullable
publicboolean nullable

Example request

{
  "description": "This agent now has an updated description on screwdrivers.",
  "name": "Updated Screwdriver Agent",
  "public": true
}

Response

Successful Response

idstring required
time_createdstring date-time required
namestring required
descriptionstring nullable
publicboolean
agent_type'DEFAULT' | 'PLAN' | 'PRIMED' required
generative_modelstring
temperaturenumber
substring uuid required

Example response

{
  "agent_type": "DEFAULT",
  "description": "This agent specializes in screwdrivers.",
  "generative_model": "gpt-3.5-turbo",
  "id": "agt_1EbVewEDVUf0oyAxzsi6LW",
  "name": "Screwdriver Agent",
  "public": false,
  "sub": "ecd8dfc1-1d93-42be-b77c-0d4331886e6c",
  "temperature": 0.7,
  "time_created": "2023-01-01T00:00:00",
  "tools": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.