CorebanqCorebanq Developer Docs
RBACv1

List API endpoints

Returns the registered API endpoints in the standard paginated envelope. Unrecognised query parameters are SILENTLY DROPPED. query.ParseQueryParameters switches on the parameter name and its default branch returns nil, so a typo such as ?lmit=50 or a parameter this endpoint does not support produces neither an error nor a warning — the request runs with the default paging and the caller sees a plausible but unfiltered page.

GET
/v1/rbac/endpoints

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer

Maximum number of records to return. A value strconv.Atoi cannot parse is REJECTED with 400 common.invalid_input (parseLimitOffset), not defaulted — ?limit=abc is an error. An absent limit falls back to 10 (constants.DefaultLimit); a value above the documented maximum is silently clamped to 100 (constants.MaxLimit) rather than rejected, and a value of 0 or below falls back to 10. -1 is the one exception: it skips the data fetch entirely and returns only the counts, which is why no minimum is declared.

offset?integer

Number of records to skip. A value strconv.Atoi cannot parse is REJECTED with 400 common.invalid_input, not defaulted. A negative value is not rejected either — parseLimitOffset silently coerces it to 0, so the declared minimum describes the effective range, not a server-side check.

sort?string

Sort expression, e.g. created_at:desc

filter?string

JSON-encoded filter criteria. A value that is not valid JSON is rejected with 400.

search_text?string

Free-text search. query.ParseQueryParameters accepts it under two names, search and search_text, and additionally recognises the per-field family search. — e.g. search.endpoint. Those per-field keys cannot be enumerated here because the set is open.

stack?string

Group results by this field; data then comes back as an object keyed by the field value instead of an array.

distinct?string

Return distinct values of this field

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/rbac/endpoints"
{
  "total": 0,
  "total_unfiltered": 0,
  "metadata": {},
  "keys": [
    "string"
  ],
  "has_more": true,
  "data": [
    {
      "endpoint": "/v1/accounts/%",
      "method": "GET",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "created_at": "2019-08-24T14:15:22Z",
      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
      "modified_at": "2019-08-24T14:15:22Z",
      "modified_by": "e8d4374d-93a1-4e98-a6c6-fdcf00c5059f",
      "active": true,
      "metadata": {}
    }
  ]
}
{
  "status": 400,
  "code": "common.invalid_input",
  "message": "Invalid input data",
  "details": [
    {
      "field": "actor_id",
      "rule": "required",
      "param": "string",
      "message": "actor_id is required"
    }
  ],
  "class": "validation",
  "retryable": false
}
{
  "status": 400,
  "code": "common.invalid_input",
  "message": "Invalid input data",
  "details": [
    {
      "field": "actor_id",
      "rule": "required",
      "param": "string",
      "message": "actor_id is required"
    }
  ],
  "class": "validation",
  "retryable": false
}
{
  "status": 400,
  "code": "common.invalid_input",
  "message": "Invalid input data",
  "details": [
    {
      "field": "actor_id",
      "rule": "required",
      "param": "string",
      "message": "actor_id is required"
    }
  ],
  "class": "validation",
  "retryable": false
}

{
  "status": 429,
  "message": "Global rate limit exceeded",
  "code": "Global rate limit exceeded",
  "class": "temporary",
  "retryable": true
}

{
  "status": 400,
  "code": "common.invalid_input",
  "message": "Invalid input data",
  "details": [
    {
      "field": "actor_id",
      "rule": "required",
      "param": "string",
      "message": "actor_id is required"
    }
  ],
  "class": "validation",
  "retryable": false
}

{
  "overall_status": "unhealthy",
  "message": "Service is shutting down",
  "timestamp": "2026-08-27T15:04:05Z"
}