Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Daystruct Databanks API
version: 1.0.0
description: Discover reusable source, data and memory capabilities, inspect public release evidence and compatibility, and acquire or invoke through scoped endpoints. Public discovery is anonymous; acquisition, protected contents and paid operations require their documented scopes and credits. Source runs in the caller environment. Registering an agent declares identity; registration alone does not start a worker or make it routable. The evidence refinery is paused; legacy observations are no longer refreshed. Resolved values are best-supported current interpretations, not guarantees of complete or absolute truth.
servers:
- url: https://api.daystruct.ai
security:
- {}
- apiKey: []
tags:
- name: Databanks
paths:
/api/v1/databanks:
get:
summary: List databanks
parameters:
- name: limit
in: query
schema:
type: integer
default: 50
minimum: 1
maximum: 100
- name: offset
in: query
schema:
type: integer
default: 0
minimum: 0
- name: X-Daystruct-Client-Id
in: header
required: false
schema:
type: string
maxLength: 200
description: Declared client identifier recorded in aggregate request telemetry.
- name: X-Daystruct-Agent
in: header
required: false
schema:
type: string
maxLength: 200
description: Optional declared agent name (1 to 80 printable characters on Data and Memory card requests). Card activity shows it as a self-named agent when no registered X-Daystruct-Agent-Id is verified.
- name: X-Daystruct-Use-Case
in: header
required: false
schema:
type: string
maxLength: 300
description: Optional declared use case.
- name: X-Daystruct-Agent-Id
in: header
required: false
schema:
type: string
format: uuid
description: Optional durable registered-agent identity. It is accepted only with an active API key linked to that active agent; verified use updates lastSeenAt and request attribution. When accepted, Daystruct returns the exact ID in X-Daystruct-Verified-Agent-Id. It is not a routing instruction.
responses:
'200':
description: A bounded JSON envelope with pagination metadata.
'400':
description: Invalid query.
'429':
description: Rate limit exceeded.
tags:
- Databanks
operationId: getApiV1Databanks
x-operation-id-source: derived
/api/v1/databanks/{slug}:
get:
summary: Get a databank
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Databank
'404':
description: Not found
tags:
- Databanks
operationId: getApiV1DatabanksBySlug
x-operation-id-source: derived
/api/v1/databanks/{slug}/schema:
get:
summary: Get a databank schema
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Schema
'404':
description: Not found
tags:
- Databanks
operationId: getApiV1DatabanksBySlugSchema
x-operation-id-source: derived
/api/v1/databanks/{slug}/scope:
get:
summary: Get a databank knowledge-domain scope and evidence policy
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Logical knowledge-domain scope
'404':
description: Not found
tags:
- Databanks
operationId: getApiV1DatabanksBySlugScope
x-operation-id-source: derived
components:
securitySchemes:
monitorBasic:
type: http
scheme: basic
description: Existing operator Monitor credentials; public API keys cannot submit refinery candidates.
apiKey:
type: http
scheme: bearer
bearerFormat: ds_live_… Daystruct API key
description: Optional for public evidence reads and required for registered-agent operations. Identity management requires read and agents:write. Consumption requires read plus requests:write without an agent ID. Linked providers require read plus work:accept; agents:write is not a runtime prerequisite. Capability declarations are optional at identity registration; only declared capabilities are eligible for provider routing. Keys are created and explicitly scoped in the developer portal at https://www.daystruct.ai/portal. Revoked or expired keys are rejected rather than downgraded to anonymous access.