Eshway Goals API
The Goals API from Eshway — 2 operation(s) for goals.
The Goals API from Eshway — 2 operation(s) for goals.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/eshway-com:eshway-com-goals-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fast Goals API
version: 0.1.0
tags:
- name: Goals
paths:
/v1/goals/{organization_id}:
post:
tags:
- Goals
summary: Create Goal
operationId: create_goal_v1_goals__organization_id__post
security:
- OAuth2PasswordBearer: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: integer
title: Organization Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GoalCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GoalInDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Goals
summary: Get Goals
operationId: get_goals_v1_goals__organization_id__get
security:
- OAuth2PasswordBearer: []
parameters:
- name: organization_id
in: path
required: true
schema:
type: integer
title: Organization Id
- name: project_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Project Id
- name: goal_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Goal Type
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/GoalInDB'
title: Response Get Goals V1 Goals Organization Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/goals/{goal_id}:
put:
tags:
- Goals
summary: Update Goal
operationId: update_goal_v1_goals__goal_id__put
security:
- OAuth2PasswordBearer: []
parameters:
- name: goal_id
in: path
required: true
schema:
type: integer
title: Goal Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GoalUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GoalInDB'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Goals
summary: Delete Goal
operationId: delete_goal_v1_goals__goal_id__delete
security:
- OAuth2PasswordBearer: []
parameters:
- name: goal_id
in: path
required: true
schema:
type: integer
title: Goal Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
GoalCategory:
type: string
enum:
- project
- personal
title: GoalCategory
GoalInDB:
properties:
title:
type: string
title: Title
description:
anyOf:
- type: string
- type: 'null'
title: Description
target:
type: number
title: Target
current:
type: number
title: Current
default: 0
type:
$ref: '#/components/schemas/GoalType'
deadline:
type: string
format: date-time
title: Deadline
goal_type:
$ref: '#/components/schemas/GoalCategory'
project_id:
anyOf:
- type: integer
- type: 'null'
title: Project Id
id:
type: integer
title: Id
status:
$ref: '#/components/schemas/GoalStatus'
user_id:
type: integer
title: User Id
organization_id:
type: integer
title: Organization Id
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- title
- target
- type
- deadline
- goal_type
- id
- status
- user_id
- organization_id
- created_at
- updated_at
title: GoalInDB
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
GoalStatus:
type: string
enum:
- on_track
- at_risk
- completed
title: GoalStatus
GoalUpdate:
properties:
title:
anyOf:
- type: string
- type: 'null'
title: Title
description:
anyOf:
- type: string
- type: 'null'
title: Description
target:
anyOf:
- type: number
- type: 'null'
title: Target
current:
anyOf:
- type: number
- type: 'null'
title: Current
type:
anyOf:
- $ref: '#/components/schemas/GoalType'
- type: 'null'
deadline:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Deadline
status:
anyOf:
- $ref: '#/components/schemas/GoalStatus'
- type: 'null'
type: object
title: GoalUpdate
GoalCreate:
properties:
title:
type: string
title: Title
description:
anyOf:
- type: string
- type: 'null'
title: Description
target:
type: number
title: Target
current:
type: number
title: Current
default: 0
type:
$ref: '#/components/schemas/GoalType'
deadline:
type: string
format: date-time
title: Deadline
goal_type:
$ref: '#/components/schemas/GoalCategory'
project_id:
anyOf:
- type: integer
- type: 'null'
title: Project Id
type: object
required:
- title
- target
- type
- deadline
- goal_type
title: GoalCreate
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
GoalType:
type: string
enum:
- revenue
- tasks
- team
- custom
- personal
- career
title: GoalType
securitySchemes:
OAuth2PasswordBearer:
type: oauth2
flows:
password:
scopes: {}
tokenUrl: token