Skip to Content

Resources API

API for managing Resources resources.

Fields

interface Resources { yaml?: string; data?: Record<string, any>; embedding?: Record<string, any>; subjectOf?: string[]; objectOf?: string[]; }

API Endpoints

GET /api/resources

Retrieves a list of Resources with pagination.

Query Parameters

  • limit: Maximum number of items to return (default: 10)
  • page: Page number for pagination (default: 1)
  • sort: Field to sort by (default: createdAt)
  • where: JSON query for filtering results

GET /api/resources/:id

Retrieves a single Resources by ID.

POST /api/resources

Creates a new Resources.

PATCH /api/resources/:id

Updates an existing Resources.

DELETE /api/resources/:id

Deletes a Resources.

Last updated on