run402-com · Schema

AgentPresence

A session-grained presence in an agent-messaging room. Names are server-assigned and never recycled.

Artificial IntelligenceInfrastructureBackendOpen SourceAgents

Properties

Name Type Description
presence_id string Opaque id, prs_ prefixed.
name string Server-assigned memorable name, unique per room forever.
task stringnull
program stringnull
model stringnull
state string v1 sole value; future handling-lease states are reserved — tolerate unknown values.
last_active string
expires_at string
active_claims integer
requested_name string Registration response only: the name the caller asked for.
renamed boolean Registration response only: true when uniqueness suffixed the requested name.
View JSON Schema on GitHub

JSON Schema

run402-com-agent-presence-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/run402-com/json-schema/run402-com-agent-presence-schema.json",
  "title": "AgentPresence",
  "description": "A session-grained presence in an agent-messaging room. Names are server-assigned and never recycled.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/run402-com-agentmessaging-api-openapi.yml#/components/schemas/AgentPresence",
  "type": "object",
  "properties": {
    "presence_id": {
      "type": "string",
      "description": "Opaque id, prs_ prefixed."
    },
    "name": {
      "type": "string",
      "description": "Server-assigned memorable name, unique per room forever."
    },
    "task": {
      "type": [
        "string",
        "null"
      ]
    },
    "program": {
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": "string",
      "enum": [
        "active"
      ],
      "description": "v1 sole value; future handling-lease states are reserved — tolerate unknown values."
    },
    "last_active": {
      "type": "string",
      "format": "date-time"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "active_claims": {
      "type": "integer"
    },
    "requested_name": {
      "type": "string",
      "description": "Registration response only: the name the caller asked for."
    },
    "renamed": {
      "type": "boolean",
      "description": "Registration response only: true when uniqueness suffixed the requested name."
    }
  },
  "required": [
    "presence_id",
    "name",
    "state",
    "last_active",
    "expires_at"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/run402-com-agent-presence"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.