agentcheck_create_target
Enroll something to monitor: an http endpoint (JSON or OpenAI-style chat), a remote MCP server (Streamable HTTP url) or an A2A agent (origin with /.well-known/agent-card.json). Pass checks to create checks in the same call (POST /api/v1/probe proposes three). Returns the target id, the public status page, the badge SVG URL and a README snippet. The first check runs on the next minute tick; call agentcheck_run_now to run immediately. Free tier: 1 target, hourly; Starter+: 5-minute checks. Requires an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | endpoint URL (http/mcp) or the agent's origin (a2a) | |
| auth | No | credential the prober sends to your endpoint: {type:'bearer',token} or {type:'header',name,value}. Stored encrypted and never returned or logged. | |
| kind | Yes | http (JSON or chat endpoint), mcp (Streamable HTTP url, or npx/uvx package spec), a2a (agent card) | |
| name | No | display name; defaults to the host | |
| slug | No | URL slug for /<owner>/<slug>; defaults to a slug of the name | |
| alerts | No | where to send an incident when a check starts failing. Any combination; omit it and incidents are visible only on the status page. | |
| checks | No | checks to create right away (the probe proposes three) | |
| format | No | http: openai_chat (POST /chat/completions body), json (raw POST), get (plain fetch) | |
| headers | No | extra request headers | |
| isPublic | No | public status page + badge (default true) | |
| modelVar | No | the model your agent runs on (e.g. claude-sonnet-5); enables model-drift re-runs | |
| corpusUrl | No | RAG targets: public corpus URL for the nightly groundedness scorer (Pro) | |
| modelHeader | No | request header your endpoint accepts to override the model (drift re-runs try the new model) | |
| packageSpec | No | mcp only: `npx @org/server` / `uvx server` — runs on the mcpcheck runner, not the minute checks | |
| agentCardUrl | No | a2a: explicit agent card URL when it is not at /.well-known/agent-card.json |