Get Agentic Actor | Rankhog Docs

API Reference

Get Agentic Actor

Return the authenticated Rankhog agentic actor, source, organization, and granted scopes.

Server URLhttps://api.rankhog.com/

POST

``/agent/v1/me

Send

Authorization

Body

Return the authenticated Rankhog agentic actor, source, organization, and granted scopes. Cache policy: live. Idempotency: none. Auth modes: api_key, mcp_oauth, session_bearer.

Authorization

apiKeyAuth

AuthorizationBearer

Rankhog organization API key sent as Authorization: Bearer rhog_....

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Copy

Response Body

200 application/json

400 application/json

401 application/json

403 application/json

500 application/json

cURL

JavaScript

Go

Python

Java

C#

curl -X POST "https://api.rankhog.com/agent/v1/me" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{}'

200400401403500

{
  "apiKey": {
    "id": "key_2x9rnkhdemo",
    "organizationId": "org_2x9rnkhdemo"
  },
  "organizationId": "org_2x9rnkhdemo",
  "scopes": [\
    "rankhog:read",\
    "reddit:rules:read",\
    "reddit:draft:write"\
  ],
  "source": "api_key",
  "user": null
}
{
  "error": {
    "code": "agentic_invalid_input",
    "details": {
      "issues": [\
        {\
          "code": "invalid_type",\
          "message": "Expected string, received undefined.",\
          "path": [\
            "organizationId"\
          ]\
        }\
      ]
    },
    "message": "Request body did not match the agentic capability schema."
  }
}

Missing authentication

{
  "error": {
    "code": "agentic_unauthorized",
    "message": "Authenticate before using Rankhog agentic capabilities."
  }
}

Invalid API key

{
  "error": {
    "code": "agentic_missing_scope",
    "details": {
      "missingScopes": [\
        "rankhog:read"\
      ]
    },
    "message": "Missing required scope: rankhog:read."
  }
}
{
  "error": {
    "code": "agentic_internal_error",
    "message": "Rankhog could not complete this agentic request."
  }
}

Get opportunity evidencePOST\ \ Read bounded opportunity product knowledge, source evidence, community rules, or conversation history. Targets are scoped to the opportunity. List Agentic WorkspacesPOST\ \ List the products this connection can see, with their ids and billing state. A product being set up shows billing.unlocked false.