-
Notifications
You must be signed in to change notification settings - Fork 376
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
14 changed files
with
1,479 additions
and
0 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
sdks/db/cached-method-objects/from-custom-request_induced.ai.yaml
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,106 @@ | ||
hash: 888fcb00ab5f7257272f3cf596ab5aed1b8e77301c425baf3c9c7654d5b8803d | ||
methodObjects: | ||
- url: /autonomous | ||
method: execute | ||
httpMethod: post | ||
tag: Task | ||
typeScriptTag: task | ||
description: Execute an Autonomous Task | ||
parameters: | ||
- name: task | ||
schema: string | ||
description: '' | ||
example: Go to google and search for Elon Musk | ||
responses: | ||
- statusCode: '200' | ||
description: '' | ||
- url: /autonomous/{id} | ||
method: getResult | ||
httpMethod: get | ||
tag: Autonomous | ||
typeScriptTag: autonomous | ||
description: Get Autonomous Task Result | ||
parameters: | ||
- name: id | ||
schema: string | ||
required: true | ||
description: '' | ||
example: ID | ||
responses: | ||
- statusCode: '200' | ||
description: '' | ||
- url: /autonomous/{id}/stop | ||
method: terminateTask | ||
httpMethod: post | ||
tag: Autonomous | ||
typeScriptTag: autonomous | ||
description: Stop an Autonomous Task | ||
parameters: | ||
- name: id | ||
schema: string | ||
required: true | ||
description: '' | ||
example: ID | ||
responses: | ||
- statusCode: '200' | ||
description: Task stopped successfully | ||
- url: /autonomous/{id}/feedback | ||
method: submission | ||
httpMethod: post | ||
tag: Feedback | ||
typeScriptTag: feedback | ||
description: Provide Feedback for an Autonomous Task | ||
parameters: | ||
- name: id | ||
schema: string | ||
required: true | ||
description: '' | ||
example: ID | ||
- name: feedback | ||
schema: boolean | ||
description: '' | ||
responses: | ||
- statusCode: '200' | ||
description: Feedback received successfully | ||
- url: /extract | ||
method: fromUrl | ||
httpMethod: post | ||
tag: Extraction | ||
typeScriptTag: extraction | ||
description: Extract data from a URL | ||
parameters: | ||
- name: url | ||
schema: string | ||
description: '' | ||
- name: query | ||
schema: string | ||
description: '' | ||
- name: columns | ||
schema: string | ||
description: '' | ||
- name: limit | ||
schema: integer | ||
description: '' | ||
- name: format | ||
schema: string | ||
description: '' | ||
responses: | ||
- statusCode: '200' | ||
description: '' | ||
- url: /extract/{id} | ||
method: getResult | ||
httpMethod: get | ||
tag: Extraction | ||
typeScriptTag: extraction | ||
description: Get extraction result | ||
parameters: | ||
- name: id | ||
schema: string | ||
required: true | ||
description: '' | ||
example: ID | ||
responses: | ||
- statusCode: '200' | ||
description: '' | ||
numberOfSchemas: 7 | ||
apiDescription: Building the next evolution of actionable AI. |
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
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
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,247 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: Autonomous API | ||
version: 1.0.0 | ||
servers: | ||
- url: https://api.induced.ai/api/v1 | ||
paths: | ||
/autonomous: | ||
post: | ||
summary: Execute an Autonomous Task | ||
operationId: executeAutonomousTask | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
task: | ||
type: string | ||
example: Go to google and search for Elon Musk | ||
responses: | ||
'200': | ||
description: Task executed successfully | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
success: | ||
type: boolean | ||
data: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
streamingUrl: | ||
type: string | ||
watchUrl: | ||
type: string | ||
requestId: | ||
type: string | ||
timeTaken: | ||
type: integer | ||
security: | ||
- ApiKeyAuth: [] | ||
/autonomous/{id}: | ||
get: | ||
summary: Get Autonomous Task Result | ||
operationId: getAutonomousTaskResult | ||
parameters: | ||
- name: id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
'200': | ||
description: Task result retrieved successfully | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
success: | ||
type: boolean | ||
data: | ||
type: object | ||
properties: | ||
run: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
status: | ||
type: string | ||
objective: | ||
type: string | ||
steps: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
step: | ||
type: string | ||
status: | ||
type: string | ||
thought: | ||
type: string | ||
result: | ||
type: string | ||
requestId: | ||
type: string | ||
timeTaken: | ||
type: integer | ||
security: | ||
- ApiKeyAuth: [] | ||
/autonomous/{id}/stop: | ||
post: | ||
summary: Stop an Autonomous Task | ||
operationId: stopAutonomousTask | ||
parameters: | ||
- name: id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
'200': | ||
description: Task stopped successfully | ||
security: | ||
- ApiKeyAuth: [] | ||
/autonomous/{id}/feedback: | ||
post: | ||
summary: Provide Feedback for an Autonomous Task | ||
operationId: provideAutonomousTaskFeedback | ||
parameters: | ||
- name: id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
feedback: | ||
type: boolean | ||
responses: | ||
'200': | ||
description: Feedback received successfully | ||
security: | ||
- ApiKeyAuth: [] | ||
/extract: | ||
post: | ||
summary: Extract data from a URL | ||
operationId: extractData | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
url: | ||
type: string | ||
query: | ||
type: string | ||
columns: | ||
type: string | ||
limit: | ||
type: integer | ||
format: | ||
type: string | ||
enum: | ||
- json | ||
- csv | ||
- markdown | ||
responses: | ||
'200': | ||
description: Data extracted successfully | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
success: | ||
type: boolean | ||
data: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
status: | ||
type: string | ||
objective: | ||
type: string | ||
requestId: | ||
type: string | ||
timeTaken: | ||
type: integer | ||
security: | ||
- ApiKeyAuth: [] | ||
/extract/{id}: | ||
get: | ||
summary: Get extraction result | ||
operationId: getExtractionResult | ||
parameters: | ||
- name: id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
'200': | ||
description: Extraction result retrieved successfully | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
success: | ||
type: boolean | ||
data: | ||
type: object | ||
properties: | ||
run: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
status: | ||
type: string | ||
objective: | ||
type: string | ||
url: | ||
type: string | ||
screenshot: | ||
type: string | ||
output: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
value: | ||
type: string | ||
format: | ||
type: string | ||
time: | ||
type: number | ||
requestId: | ||
type: string | ||
timeTaken: | ||
type: integer | ||
security: | ||
- ApiKeyAuth: [] | ||
components: | ||
securitySchemes: | ||
ApiKeyAuth: | ||
type: apiKey | ||
in: header | ||
name: x-api-key |
Oops, something went wrong.