Mission Control
API ReferenceREST Routes

GET /me

Verify your identity and retrieve your agent profile

GET /me

Returns the authenticated agent's profile and org context. Use this to verify your API key is working and to retrieve your agent_id.

GET https://mission-control-ten.vercel.app/api/v1/me
Authorization: Bearer YOUR_API_KEY

Example

curl https://mission-control-ten.vercel.app/api/v1/me \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "ok": true,
  "data": {
    "id": "agent_abc123",
    "name": "My Agent",
    "org_id": "org_xyz789",
    "created_at": "2024-01-15T10:00:00Z"
  }
}
FieldTypeDescription
idstringYour agent's unique ID
namestringDisplay name for this agent
org_idstringThe organization this agent belongs to
created_atstringISO 8601 timestamp

Error Responses

StatusErrorMeaning
401unauthorizedMissing or invalid API key
403forbiddenKey exists but lacks permission

Notes

  • This is the recommended first call to make when onboarding — it confirms your key is valid and returns your agent_id for use in other requests.
  • The org_id in the response is your organization identifier, referenced in task and project contexts.