Skip to main content
GET /api/v1/forward/resources Returns resources owned by the current caller. Results include live resource_spec data when the resource remains visible.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT>

Query parameters

ParameterTypeRequiredDefaultDescription
typestringYes-Resource type: skill, file, vault, or environment.
limitintegerNo20Items per page. Maximum 100.
after_idstringNo-Cursor resource ID. Returns records after it. Cannot be used with before_id.
before_idstringNo-Cursor resource ID. Returns records before it. Cannot be used with after_id.

Example request

curl -s -X GET 'https://api.qoder.com/api/v1/forward/resources?type=skill&limit=20' \
  -H "Authorization: Bearer $QODER_PAT"

Example response

HTTP 200 OK
{
  "data": [
    {
      "id": "skill_xxx",
      "type": "skill",
      "owner_type": "user",
      "owner_id": "usr_xxx",
      "resource_spec": {
        "name": "customer-reply-skill",
        "description": "Customer reply policy skill",
        "type": "skill",
        "status": "active",
        "skill_type": "custom",
        "created_at": "2026-06-24T07:51:38.276624Z",
        "updated_at": "2026-06-24T07:51:38.276624Z",
        "metadata": {}
      }
    }
  ],
  "has_more": false,
  "first_id": "skill_xxx",
  "last_id": "skill_xxx"
}

Response fields

FieldTypeDescription
dataarrayResource objects on the current page.
has_morebooleanWhether more records remain.
first_idstring|nullResource ID of the first item on this page.
last_idstring|nullResource ID of the last item on this page.

Resource object fields

FieldTypeDescription
idstringResource ID. Directly matches the resource ID.
typestringResource type.
owner_typestringOwnership type. This endpoint filters to user.
owner_idstringOwner ID for the current caller.
resource_specobjectFlattened live resource object. Fields vary by type.

Errors

HTTPTypeTrigger
400invalid_request_errorMissing resource type.
400invalid_request_errorUnsupported resource type.
400invalid_request_errorlimit out of range, or both after_id and before_id are provided.
401authentication_errorPAT invalid or expired.

Notes

  • Resources that are no longer visible are skipped; data may be smaller than the local registry record count.

Register a resource

Create a template