API Reference

# Get Agentic Actor

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

Server URL`https://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](/content/docs/api/reference/get_agentic_me/index.html#authorization)

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

## [Request Body](/content/docs/api/reference/get_agentic_me/index.html#request-body)

`application/json`

TypeScript Definitions

Use the request body type in TypeScript.

Copy

## [Response Body](/content/docs/api/reference/get_agentic_me/index.html#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.](/content/docs/api/reference/get_opportunity_evidence/index.html) [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.](/content/docs/api/reference/list_agentic_workspaces/index.html)
