List scripts

List the scripts owned by one handle. The owner, and any member of the project when the handle names one, sees every script under it; everyone else sees only that owner's public scripts.

get/api/scripts/{handle}

Request

  • Base URL: https://reduck.ai
  • URL: https://reduck.ai/api/scripts/{handle}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

handlestring required

The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.

Query parameters

pageinteger
pageSizeinteger
hoststring
slugstring

The script's unique identifier within its host, unique per owner.

visibility'private' | 'public'
archived'true' | 'false'

Filter on archived state. Omit it and both archived and active scripts come back; true for archived only, false for active only.

status'healthy' | 'degraded' | 'failing' | 'unknown'
qstring
sortBy'relevance' | 'featured' | 'name' | 'host' | 'runs' | 'successRate' | 'avgTime' | 'lastRunAt' | 'createdAt' | 'updatedAt'

How to order the results. relevance needs a q search term and is the default with one; without q there is nothing to be relevant to and the default order is used instead.

order'asc' | 'desc'

Response

OK

hasNextPageboolean required
totalCountnumber

Changes

No recorded changes to this operation across all 1 revision of this API.