Workflows
Official Tinq.ai python SDK.
All URIs are relative to https://tinq.ai/api/v2
If you are an enterprise customer, check your account for your custom endpoint.
Method | HTTP request | Description |
---|---|---|
create_workflow | POST /workflows | Create workflow |
execute_workflow | POST /workflows//execute | Execute workflow |
get_one_workflow | GET /workflows/ | Get one workflow |
get_workflows | GET /workflows | Get workflows |
create_workflow
create_workflow(content_type=content_type, accept=accept, body=body)
Create workflow
Create a workflow.
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
content_type | str | [optional] | |
accept | str | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
execute_workflow
execute_workflow(workflow_slug, content_type=content_type, accept=accept, body=body)
Execute workflow
Execute a workflow
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
workflow_slug | str | ||
content_type | str | [optional] | |
accept | str | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
get_one_workflow
get_one_workflow(workflow_slug, accept=accept, content_type=content_type)
Get one workflow
Get one workflow
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
workflow_slug | str | ||
accept | str | [optional] | |
content_type | str | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
get_workflows
get_workflows()
Get workflows
List all user’s workflows
Example
- Bearer Authentication (bearerAuth):
Parameters
This endpoint does not need any parameter.
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |