Overview
GET/blocksblocks

Users the caller has blocked (paginated)

List blocks.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • pagequery · optionalstring
  • pageSizequery · optionalstring
Responses
200

A page of the caller's blocks, newest first

  • itemsUserBlock[]
  • totalinteger
  • pageinteger
  • pageSizeinteger
Example
{
  "items": [
    {
      "id": "string",
      "ecosystemId": "string",
      "blockerId": "string",
      "blockedId": "string",
      "createdAt": "string"
    }
  ],
  "total": 0,
  "page": 0,
  "pageSize": 0
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/blocks" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/blocks", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();