PUT /agents/defaults

Set a default agent config.

Addressed by rung: the account rung (repository omitted) or a repository rung ("owner/name"); the config by id or by the agent's name. Returns the full resulting ladder. Refused for sandbox tokens (potentially prompt-injected code must not repoint the account's ambient default); an unknown or foreign repository is a 404.

curl -X PUT "https://api.ellipsis.dev/v1/agents/defaults" \
  -H "Authorization: Bearer $ELLIPSIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"config_id":"..."}'
{
  "account": "string",
  "repositories": {}
}
{
  "properties": {
    "config_id": {
      "type": "string"
    },
    "repository": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "config_id"
  ],
  "type": "object"
}
{
  "properties": {
    "account": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "repositories": {
      "additionalProperties": {
        "type": "string"
      },
      "default": {},
      "type": "object"
    }
  },
  "type": "object"
}

Request

Responses

On this page

No Headings
Schedule a demo