-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
395 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,266 @@ | ||
{ | ||
"openapi": "3.1.0", | ||
"info": { | ||
"title": "GraphFleet API", | ||
"version": "0.5.3" | ||
}, | ||
"paths": { | ||
"/search/local": { | ||
"post": { | ||
"tags": [ | ||
"search" | ||
], | ||
"summary": "Api Local Search", | ||
"operationId": "api_local_search_search_local_post", | ||
"requestBody": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/SearchQuery" | ||
} | ||
} | ||
}, | ||
"required": true | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Successful Response", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/SearchResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"422": { | ||
"description": "Validation Error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/HTTPValidationError" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/search/global": { | ||
"post": { | ||
"tags": [ | ||
"search" | ||
], | ||
"summary": "Api Global Search", | ||
"operationId": "api_global_search_search_global_post", | ||
"requestBody": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/SearchQuery" | ||
} | ||
} | ||
}, | ||
"required": true | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Successful Response", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/SearchResponse" | ||
} | ||
} | ||
} | ||
}, | ||
"422": { | ||
"description": "Validation Error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/HTTPValidationError" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/search/local/stream": { | ||
"post": { | ||
"tags": [ | ||
"search" | ||
], | ||
"summary": "Api Local Search Stream", | ||
"operationId": "api_local_search_stream_search_local_stream_post", | ||
"requestBody": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/SearchQuery" | ||
} | ||
} | ||
}, | ||
"required": true | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Successful Response", | ||
"content": { | ||
"application/json": { | ||
"schema": {} | ||
} | ||
} | ||
}, | ||
"422": { | ||
"description": "Validation Error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/HTTPValidationError" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/search/global/stream": { | ||
"post": { | ||
"tags": [ | ||
"search" | ||
], | ||
"summary": "Api Global Search Stream", | ||
"operationId": "api_global_search_stream_search_global_stream_post", | ||
"requestBody": { | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/SearchQuery" | ||
} | ||
} | ||
}, | ||
"required": true | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Successful Response", | ||
"content": { | ||
"application/json": { | ||
"schema": {} | ||
} | ||
} | ||
}, | ||
"422": { | ||
"description": "Validation Error", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/HTTPValidationError" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/": { | ||
"get": { | ||
"summary": "Root", | ||
"operationId": "root__get", | ||
"responses": { | ||
"200": { | ||
"description": "Successful Response", | ||
"content": { | ||
"application/json": { | ||
"schema": {} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"HTTPValidationError": { | ||
"properties": { | ||
"detail": { | ||
"items": { | ||
"$ref": "#/components/schemas/ValidationError" | ||
}, | ||
"type": "array", | ||
"title": "Detail" | ||
} | ||
}, | ||
"type": "object", | ||
"title": "HTTPValidationError" | ||
}, | ||
"SearchQuery": { | ||
"properties": { | ||
"query": { | ||
"type": "string", | ||
"title": "Query" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"query" | ||
], | ||
"title": "SearchQuery" | ||
}, | ||
"SearchResponse": { | ||
"properties": { | ||
"response": { | ||
"type": "string", | ||
"title": "Response" | ||
}, | ||
"context_data": { | ||
"type": "object", | ||
"title": "Context Data" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"response", | ||
"context_data" | ||
], | ||
"title": "SearchResponse" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
# yaml-language-server: $schema=https://app.stainlessapi.com/config.schema.json | ||
|
||
organization: | ||
name: graphfleet | ||
docs: https://docs.agenticfleet.com | ||
contact: [email protected] | ||
github_org: Qredence | ||
resources: | ||
data: | ||
methods: | ||
list: get /data | ||
create: post /data | ||
delete: delete /data/{storage_name} | ||
models: | ||
storagenamelist: StorageNameList | ||
index: | ||
methods: | ||
create: post /index | ||
list: get /index | ||
delete: delete /index/{index_name} | ||
subresources: | ||
status: | ||
methods: | ||
retrieve: get /index/status/{index_name} | ||
models: | ||
indexstatusresponse: IndexStatusResponse | ||
config: | ||
subresources: | ||
prompts: | ||
methods: | ||
retrieve: get /index/config/prompts | ||
models: | ||
indexnamelist: IndexNameList | ||
query: | ||
methods: | ||
global: post /query/global | ||
local: post /query/local | ||
models: | ||
graphresponse: GraphResponse | ||
sources: | ||
subresources: | ||
reports: | ||
methods: | ||
retrieve: get /source/report/{index_name}/{report_id} | ||
models: | ||
reportresponse: ReportResponse | ||
texts: | ||
methods: | ||
retrieve: get /source/text/{index_name}/{text_unit_id} | ||
models: | ||
textunitresponse: TextUnitResponse | ||
entities: | ||
methods: | ||
retrieve: get /source/entity/{index_name}/{entity_id} | ||
models: | ||
entityresponse: EntityResponse | ||
claims: | ||
methods: | ||
retrieve: get /source/claim/{index_name}/{claim_id} | ||
models: | ||
claimresponse: ClaimResponse | ||
relationships: | ||
methods: | ||
retrieve: get /source/relationship/{index_name}/{relationship_id} | ||
models: | ||
relationshipresponse: RelationshipResponse | ||
graph_operations: | ||
subresources: | ||
graphml: | ||
methods: | ||
retrieve: get /graph/graphml/{index_name} | ||
stats: | ||
methods: | ||
retrieve: get /graph/stats/{index_name} | ||
models: | ||
graphdataresponse: GraphDataResponse | ||
experimental_operations: | ||
methods: | ||
global_query: post /experimental/query/global/streaming | ||
health: | ||
methods: | ||
retrieve: get /health | ||
$shared: | ||
models: | ||
baseresponse: BaseResponse | ||
targets: | ||
node: | ||
package_name: graphfleet | ||
production_repo: null | ||
publish: | ||
npm: false | ||
python: | ||
package_name: graphfleet | ||
production_repo: null | ||
publish: | ||
pypi: false | ||
settings: | ||
license: Apache-2.0 | ||
client_settings: | ||
opts: {} | ||
omit_platform_headers: false | ||
default_headers: {} | ||
default_timeout: PT60S | ||
default_retries: | ||
max_retries: 2 | ||
initial_delay_seconds: 0.5 | ||
max_delay_seconds: 8 | ||
environments: | ||
production: https://localhost:8080/test-api | ||
query_settings: | ||
nested_format: brackets | ||
array_format: comma | ||
readme: | ||
example_requests: | ||
default: | ||
type: request | ||
endpoint: get /health | ||
params: &ref_0 {} | ||
headline: | ||
type: request | ||
endpoint: get /health | ||
params: *ref_0 | ||
pagination: | ||
type: request | ||
endpoint: get /data | ||
params: {} |
Oops, something went wrong.