Bluejay Knowledge Bases API
The Knowledge Bases API from Bluejay — 5 operation(s) for knowledge bases.
The Knowledge Bases API from Bluejay — 5 operation(s) for knowledge bases.
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/bluejay:bluejay-knowledge-bases-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: Bluejay Knowledge Bases API
description: Bluejay API
version: 0.1.0
servers:
- url: https://api.getbluejay.ai
description: Production server
security:
- apiKeyAuth: []
tags:
- name: Knowledge Bases
paths:
/v1/knowledge-base:
post:
tags:
- Knowledge Bases
summary: Create Knowledge Base
operationId: create_knowledge_base_v1_knowledge_base_post
security:
- HTTPBearer: []
parameters:
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateKnowledgeBaseRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeBaseResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Knowledge Bases
summary: List Knowledge Bases
operationId: list_knowledge_bases_v1_knowledge_base_get
security:
- HTTPBearer: []
parameters:
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/KnowledgeBaseListItem'
title: Response List Knowledge Bases V1 Knowledge Base Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/knowledge-base/{knowledge_base_id}:
get:
tags:
- Knowledge Bases
summary: Get Knowledge Base
operationId: get_knowledge_base_v1_knowledge_base__knowledge_base_id__get
security:
- HTTPBearer: []
parameters:
- name: knowledge_base_id
in: path
required: true
schema:
type: string
format: uuid
title: Knowledge Base Id
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeBaseDetailResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Knowledge Bases
summary: Update Knowledge Base
operationId: update_knowledge_base_v1_knowledge_base__knowledge_base_id__put
security:
- HTTPBearer: []
parameters:
- name: knowledge_base_id
in: path
required: true
schema:
type: string
format: uuid
title: Knowledge Base Id
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateKnowledgeBaseRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeBaseResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Knowledge Bases
summary: Delete Knowledge Base
operationId: delete_knowledge_base_v1_knowledge_base__knowledge_base_id__delete
security:
- HTTPBearer: []
parameters:
- name: knowledge_base_id
in: path
required: true
schema:
type: string
format: uuid
title: Knowledge Base Id
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/knowledge-base/{knowledge_base_id}/agents/{agent_id}:
post:
tags:
- Knowledge Bases
summary: Attach Agent To Knowledge Base
operationId: attach_agent_to_knowledge_base_v1_knowledge_base__knowledge_base_id__agents__agent_id__post
security:
- HTTPBearer: []
parameters:
- name: knowledge_base_id
in: path
required: true
schema:
type: string
format: uuid
title: Knowledge Base Id
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AttachAgentResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Knowledge Bases
summary: Detach Agent From Knowledge Base
operationId: detach_agent_from_knowledge_base_v1_knowledge_base__knowledge_base_id__agents__agent_id__delete
security:
- HTTPBearer: []
parameters:
- name: knowledge_base_id
in: path
required: true
schema:
type: string
format: uuid
title: Knowledge Base Id
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
- name: X-Organization-Id
in: header
required: false
schema:
type: string
title: X-Organization-Id
- name: X-API-Key
in: header
required: true
schema:
type: string
description: API key required to authenticate requests.
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
AttachAgentResponse:
properties:
id:
type: string
format: uuid
title: Id
agent_id:
type: integer
title: Agent Id
knowledge_base_id:
type: string
format: uuid
title: Knowledge Base Id
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
type: object
required:
- id
- agent_id
- knowledge_base_id
title: AttachAgentResponse
KnowledgeBaseDetailResponse:
properties:
id:
type: string
format: uuid
title: Id
organization_id:
type: string
title: Organization Id
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
folder_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Folder Id
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
documents:
items:
$ref: '#/components/schemas/KnowledgeBaseDocumentSummary'
type: array
title: Documents
type: object
required:
- id
- organization_id
- name
- documents
title: KnowledgeBaseDetailResponse
KnowledgeBaseResponse:
properties:
id:
type: string
format: uuid
title: Id
organization_id:
type: string
title: Organization Id
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
folder_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Folder Id
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
type: object
required:
- id
- organization_id
- name
title: KnowledgeBaseResponse
KnowledgeBaseDocumentSummary:
properties:
id:
type: string
format: uuid
title: Id
name:
type: string
title: Name
type:
anyOf:
- type: string
- type: 'null'
title: Type
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
status:
anyOf:
- type: string
- type: 'null'
title: Status
type: object
required:
- id
- name
title: KnowledgeBaseDocumentSummary
UpdateKnowledgeBaseRequest:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
type: object
title: UpdateKnowledgeBaseRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CreateKnowledgeBaseRequest:
properties:
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
type: object
required:
- name
title: CreateKnowledgeBaseRequest
KnowledgeBaseListItem:
properties:
id:
type: string
format: uuid
title: Id
organization_id:
type: string
title: Organization Id
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
folder_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Folder Id
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
document_count:
type: integer
title: Document Count
default: 0
type: object
required:
- id
- organization_id
- name
title: KnowledgeBaseListItem
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key required to authenticate requests.
scimToken:
type: http
scheme: bearer
description: SCIM token from Settings → Security → User provisioning (SCIM). Not an API key.
x-provenance:
method: harvested
publisher: Bluejay
source: https://api.getbluejay.ai/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)