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: Derive Activity API
version: 1.0.0
description: 'Derive''s HTTP API. Every response shape here is the single source of truth for the web client — generated from the same Zod schemas that back this reference, so the docs never drift from the running API.
**Auth:** a session cookie (browser) or a bearer token (agents and the CLI). Most write routes are scoped to the caller''s active workspace. The `/v1` paths are the stable product surface; `/openapi.json` serves this spec and `/docs` renders it.'
tags:
- name: Activity
paths:
/v1/seen:
get:
tags:
- Activity
summary: Where the signed-in user last left an activity stream
parameters:
- schema:
type: string
pattern: ^(ws|artifact):[A-Za-z0-9_-]{1,64}$
required: true
name: scope
in: query
responses:
'200':
description: The last-seen time, or null before the first visit.
content:
application/json:
schema:
type: object
properties:
seen_at:
type:
- string
- 'null'
required:
- seen_at
operationId: getV1Seen
x-operation-id-source: derived
put:
tags:
- Activity
summary: Move the signed-in user's position in an activity stream
responses:
'200':
description: 'What is stored after the write: forward-only unless `manual`, so a slow write never rewinds a fresher one.'
content:
application/json:
schema:
type: object
properties:
seen_at:
type:
- string
- 'null'
required:
- seen_at
operationId: putV1Seen
x-operation-id-source: derived