List a grant's activity - Spacefast Docs

List a grant's activity

Returns up to 100 events for one of the caller’s grants, newest first, merging platform activity with the session events of the hosted MCP sessions it opened. The actor on every entry is the user who authorized the grant; harness carries the client name and version the MCP session reported, which is display attribution and not identity. Requires a browser session.

GET /v1/me/grants/{grantId}/activity

Authorization

Authorization Bearer token · header required

Authorization: Bearer <token>

with an API key (sfa_ prefix), an OAuth access token, a session token, or a Space machine credential (sfm_ prefix).

Path parameters

grantId string required

min length 1

Responses

200 Response for status 200

$schema string
Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

data object required

Show properties Hide properties

Array of object

One of:

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Show properties Hide properties

Response

200 default

{
  "$schema": "http://example.com",
  "data": {
    "grantId": "string",
    "authorizationLevel": "user",
    "entries": [
      {
        "id": "string",
        "grantId": "string",
        "actor": {
          "type": "user",
          "id": "string"
        },
        "harness": {
          "kind": "mcp",
          "clientInfo": {
            "name": "string",
            "version": "string"
          }
        },
        "createdAt": "2019-08-24T14:15:22Z",
        "source": "platform",
        "code": "string",
        "message": "string",
        "details": {
          "property1": null,
          "property2": null
        }
      }
    ]
  }
}
{
  "$schema": "http://example.com",
  "type": "string",
  "title": "string",
  "status": -9007199254740991,
  "detail": "string",
  "code": "string",
  "pointer": "string",
  "details": {
    "property1": null,
    "property2": null
  },
  "suggestions": [
    "string"
  ],
  "next": [
    "string"
  ],
  "requestId": "string"
}