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: Taskaid Ai Plans API
version: '1'
contact:
name: Taskaid support
email: support@taskaid.ai
url: https://taskaid.ai/support
termsOfService: https://taskaid.ai/terms
description: 'Operations tagged Plans across 2 of this provider''s published API definitions: dev-taskaid-ai-openapi.json, taskaid-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: Plans
description: 'One short plan per day: what to tackle, in what order, and where to start.'
paths:
/api/v1/plans/{date}:
get:
operationId: getPlan
summary: Get a day's plan
tags:
- Plans
security:
- oauth2:
- read
- apiKey:
- read
parameters:
- schema:
type: string
format: date
description: The plan's day, as "YYYY-MM-DD".
required: true
description: The plan's day, as "YYYY-MM-DD".
name: date
in: path
responses:
'200':
description: The day's plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Plan'
'400':
description: The request is malformed or breaks a rule.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: No valid credential.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The credential lacks the scope.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: The day has no plan.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
put:
operationId: savePlan
summary: Create or replace a day's plan
description: Writes the day's whole plan. A title left out is cleared, as with any field PUT replaces.
tags:
- Plans
security:
- oauth2:
- write
- apiKey:
- write
parameters:
- schema:
type: string
format: date
description: The plan's day, as "YYYY-MM-DD".
required: true
description: The plan's day, as "YYYY-MM-DD".
name: date
in: path
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type:
- string
- 'null'
minLength: 1
maxLength: 120
description: A few words naming what the day is for. Left out or null, the plan has no title.
content:
type: string
minLength: 1
maxLength: 5000
description: The whole day's plan, as Markdown.
required:
- content
additionalProperties: false
responses:
'200':
description: The plan, replaced.
content:
application/json:
schema:
$ref: '#/components/schemas/Plan'
'201':
description: The plan, created.
headers:
Location:
schema:
type: string
description: Where the new resource can be read.
required: true
description: Where the new resource can be read.
content:
application/json:
schema:
$ref: '#/components/schemas/Plan'
'400':
description: The request is malformed or breaks a rule.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: No valid credential.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The credential lacks the scope.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'415':
description: The body is not JSON.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
servers:
- url: /
components:
schemas:
Problem:
type: object
properties:
type:
type: string
description: 'Names the problem: a type under https://taskaid.ai/problems/, or about:blank when the status says it all. Handle the types you recognise and fall back to the status for any other; ignore members you don''t recognise.'
title:
type: string
description: Fixed for each type. Don't branch on it.
status:
type: integer
detail:
type: string
description: What went wrong this time, for people. Don't parse it.
required:
- type
- title
- status
- detail
description: Problem details (RFC 9457).
Plan:
type: object
properties:
id:
type: string
url:
type: string
date:
type: string
description: Calendar date, "YYYY-MM-DD".
title:
type:
- string
- 'null'
content:
type: string
required:
- id
- url
- date
- title
- content
securitySchemes:
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
refreshUrl: /oauth/token
scopes:
read: Read
write: Write
apiKey:
type: http
scheme: bearer
description: An API key from Settings.
externalDocs:
description: Guide and reference
url: https://taskaid.ai/developers/api
x-refined-from:
- dev-taskaid-ai-openapi.json
- taskaid-ai-openapi.json