Agents

Map a scope to an agent, or clear it with agentId null. A scope belongs to one agent (admins)

put/api/v1/ai-providers/{id}/scopes

Request

  • Base URL: https://hourtick.com
  • URL: https://hourtick.com/api/v1/ai-providers/{id}/scopes
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

scopeType'workspace' | 'project' | 'api_key' | 'key' required
scopeIdstring required
namestring
agentIdstring uuid nullable required

The agent this bill belongs to; null removes the mapping

Response

Saved

Changes

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