agents

Create an Agent.

Changed on

Create a new Agent with a name and optional public visibility. The Agent will be assigned a unique ID.

post/v1/agents

Request

  • Base URL: https://api.runloop.ai
  • URL: https://api.runloop.ai/v1/agents
  • Auth: HTTP bearer

Request body

namestring required

The name of the Agent.

versionstring nullable

Optional version identifier for the Agent. For npm/pip sources this is typically a semver string (e.g. '2.0.65'). For git sources it can be a branch or tag. Semantics are user-defined for object sources.

Response

Agent created successfully. Returns the Agent with metadata.

idstring required

The unique identifier of the Agent.

namestring required

The name of the Agent.

versionstring nullable

Optional version identifier for the Agent. For npm/pip sources this is typically a semver string (e.g. '2.0.65'). For git sources it can be a branch or tag. Omitted for object sources or when not provided.

create_time_msinteger required

The creation time of the Agent (Unix timestamp milliseconds).

is_publicboolean required

Whether the Agent is publicly accessible.

Changes

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property type changed from object to no type

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added subschema #2 to the request property anyOf list

    • info

      added subschema #2 to the response property anyOf list for the response status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      the request property became nullable

    • info

      the request property became optional