fetch_hive 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/fetch_hive/client.rb +17 -2
- data/lib/fetch_hive/generated/api/agent_chat_messages_api.rb +1 -1
- data/lib/fetch_hive/generated/api/agent_chats_api.rb +1 -1
- data/lib/fetch_hive/generated/api/agents_api.rb +190 -1
- data/lib/fetch_hive/generated/api/assets_api.rb +1 -1
- data/lib/fetch_hive/generated/api/hive_agents_api.rb +1 -1
- data/lib/fetch_hive/generated/api/knowledge_base_items_api.rb +1 -1
- data/lib/fetch_hive/generated/api/knowledge_bases_api.rb +1 -1
- data/lib/fetch_hive/generated/api/models_api.rb +1 -1
- data/lib/fetch_hive/generated/api/prompts_api.rb +1 -1
- data/lib/fetch_hive/generated/api/requests_api.rb +1 -1
- data/lib/fetch_hive/generated/api/search_services_api.rb +1 -1
- data/lib/fetch_hive/generated/api/workflows_api.rb +1 -1
- data/lib/fetch_hive/generated/api_client.rb +1 -1
- data/lib/fetch_hive/generated/api_error.rb +1 -1
- data/lib/fetch_hive/generated/api_model_base.rb +1 -1
- data/lib/fetch_hive/generated/configuration.rb +1 -1
- data/lib/fetch_hive/generated/models/agent_attachment.rb +1 -1
- data/lib/fetch_hive/generated/models/agent_attachment_one_of.rb +1 -1
- data/lib/fetch_hive/generated/models/agent_delegation.rb +383 -0
- data/lib/fetch_hive/generated/models/agent_invoke_async_config.rb +159 -0
- data/lib/fetch_hive/generated/models/agent_message.rb +1 -1
- data/lib/fetch_hive/generated/models/asset_object.rb +1 -1
- data/lib/fetch_hive/generated/models/asset_object_transcription.rb +1 -1
- data/lib/fetch_hive/generated/models/async_config.rb +1 -1
- data/lib/fetch_hive/generated/models/delete_public_workspaces_agents200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/delete_public_workspaces_agents_chats200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/delete_public_workspaces_agents_chats404_response.rb +1 -1
- data/lib/fetch_hive/generated/models/delete_public_workspaces_knowledge_bases200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/delete_public_workspaces_knowledge_bases_items200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/error_response.rb +1 -1
- data/lib/fetch_hive/generated/models/generated_artifact.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_models200_response_inner.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_requests200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_requests404_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_search_services_countries200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_search_services_countries200_response_services_inner.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_search_services_countries200_response_services_inner_countries_inner.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_search_services_countries2404_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_agents200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_agents2200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_agents_chats200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_agents_chats_messages200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_agents_chats_messages200_response_messages_inner.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_agents_chats_messages422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_assets200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases2200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases2422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items200_response_knowledge_base_items_inner.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items2200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items2422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/hive_agent_async_config.rb +1 -1
- data/lib/fetch_hive/generated/models/hive_agent_sources.rb +1 -1
- data/lib/fetch_hive/generated/models/invoke_agent_request.rb +14 -5
- data/lib/fetch_hive/generated/models/invoke_agent_response.rb +17 -5
- data/lib/fetch_hive/generated/models/invoke_hive_agent_request.rb +56 -2
- data/lib/fetch_hive/generated/models/invoke_hive_agent_response.rb +1 -1
- data/lib/fetch_hive/generated/models/invoke_prompt_request.rb +1 -1
- data/lib/fetch_hive/generated/models/invoke_prompt_response.rb +1 -1
- data/lib/fetch_hive/generated/models/invoke_workflow_async_response.rb +1 -1
- data/lib/fetch_hive/generated/models/invoke_workflow_request.rb +1 -1
- data/lib/fetch_hive/generated/models/invoke_workflow_response.rb +1 -1
- data/lib/fetch_hive/generated/models/knowledge_base_object.rb +1 -1
- data/lib/fetch_hive/generated/models/list_thread_agent_delegations200_response.rb +166 -0
- data/lib/fetch_hive/generated/models/metadata_value.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents_chats200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents_chats_clear_messages200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents_chats_request.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents_chats_request_chat.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents_request.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_agents_request_agent.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_knowledge_bases200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_knowledge_bases_items200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_knowledge_bases_items_request.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_knowledge_bases_items_request_knowledge_base_item.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_knowledge_bases_request.rb +1 -1
- data/lib/fetch_hive/generated/models/patch_public_workspaces_knowledge_bases_request_knowledge_base.rb +1 -1
- data/lib/fetch_hive/generated/models/pending_delegation.rb +234 -0
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_chats200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_chats200_response_chat.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_chats422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_chats_request.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_chats_request_chat.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_request.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_agents_request_agent.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_assets200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_assets422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_items200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_items422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_items_regenerate200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_items_request.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_items_request_knowledge_base_item.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_request.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_request_knowledge_base.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_search200_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_search422_response.rb +1 -1
- data/lib/fetch_hive/generated/models/post_public_workspaces_knowledge_bases_search_request.rb +1 -1
- data/lib/fetch_hive/generated/models/sse_chunk.rb +1 -1
- data/lib/fetch_hive/generated/models/token_usage.rb +1 -1
- data/lib/fetch_hive/generated/models/tool_invocation.rb +1 -1
- data/lib/fetch_hive/generated/version.rb +1 -1
- metadata +6 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
data/lib/fetch_hive/generated/models/get_public_workspaces_agents_chats_messages200_response.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
data/lib/fetch_hive/generated/models/get_public_workspaces_agents_chats_messages422_response.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items200_response.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items2200_response.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
data/lib/fetch_hive/generated/models/get_public_workspaces_knowledge_bases_items2422_response.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -45,6 +45,8 @@ module FetchHive::Generated
|
|
|
45
45
|
# Artifact UUIDs explicitly selected for the current turn. In a caller-managed session every value must also appear in `known_artifact_refs`.
|
|
46
46
|
attr_accessor :artifact_refs
|
|
47
47
|
|
|
48
|
+
attr_accessor :async
|
|
49
|
+
|
|
48
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
51
|
def self.attribute_map
|
|
50
52
|
{
|
|
@@ -57,7 +59,8 @@ module FetchHive::Generated
|
|
|
57
59
|
:'messages' => :'messages',
|
|
58
60
|
:'attachments' => :'attachments',
|
|
59
61
|
:'known_artifact_refs' => :'known_artifact_refs',
|
|
60
|
-
:'artifact_refs' => :'artifact_refs'
|
|
62
|
+
:'artifact_refs' => :'artifact_refs',
|
|
63
|
+
:'async' => :'async'
|
|
61
64
|
}
|
|
62
65
|
end
|
|
63
66
|
|
|
@@ -83,7 +86,8 @@ module FetchHive::Generated
|
|
|
83
86
|
:'messages' => :'Array<AgentMessage>',
|
|
84
87
|
:'attachments' => :'Array<AgentAttachment>',
|
|
85
88
|
:'known_artifact_refs' => :'Array<String>',
|
|
86
|
-
:'artifact_refs' => :'Array<String>'
|
|
89
|
+
:'artifact_refs' => :'Array<String>',
|
|
90
|
+
:'async' => :'AgentInvokeAsyncConfig'
|
|
87
91
|
}
|
|
88
92
|
end
|
|
89
93
|
|
|
@@ -166,6 +170,10 @@ module FetchHive::Generated
|
|
|
166
170
|
self.artifact_refs = value
|
|
167
171
|
end
|
|
168
172
|
end
|
|
173
|
+
|
|
174
|
+
if attributes.key?(:'async')
|
|
175
|
+
self.async = attributes[:'async']
|
|
176
|
+
end
|
|
169
177
|
end
|
|
170
178
|
|
|
171
179
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -284,7 +292,8 @@ module FetchHive::Generated
|
|
|
284
292
|
messages == o.messages &&
|
|
285
293
|
attachments == o.attachments &&
|
|
286
294
|
known_artifact_refs == o.known_artifact_refs &&
|
|
287
|
-
artifact_refs == o.artifact_refs
|
|
295
|
+
artifact_refs == o.artifact_refs &&
|
|
296
|
+
async == o.async
|
|
288
297
|
end
|
|
289
298
|
|
|
290
299
|
# @see the `==` method
|
|
@@ -296,7 +305,7 @@ module FetchHive::Generated
|
|
|
296
305
|
# Calculates hash code according to all attributes.
|
|
297
306
|
# @return [Integer] Hash code
|
|
298
307
|
def hash
|
|
299
|
-
[message, agent, thread_id, streaming, user, metadata, messages, attachments, known_artifact_refs, artifact_refs].hash
|
|
308
|
+
[message, agent, thread_id, streaming, user, metadata, messages, attachments, known_artifact_refs, artifact_refs, async].hash
|
|
300
309
|
end
|
|
301
310
|
|
|
302
311
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -36,6 +36,9 @@ module FetchHive::Generated
|
|
|
36
36
|
# Generated documents and images produced by completed artifact tools.
|
|
37
37
|
attr_accessor :artifacts
|
|
38
38
|
|
|
39
|
+
# Background workflows started during this turn. Present only when the turn ended with one or more pending delegations.
|
|
40
|
+
attr_accessor :pending_delegations
|
|
41
|
+
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
43
|
def self.attribute_map
|
|
41
44
|
{
|
|
@@ -45,7 +48,8 @@ module FetchHive::Generated
|
|
|
45
48
|
:'model' => :'model',
|
|
46
49
|
:'usage' => :'usage',
|
|
47
50
|
:'tool_calls' => :'tool_calls',
|
|
48
|
-
:'artifacts' => :'artifacts'
|
|
51
|
+
:'artifacts' => :'artifacts',
|
|
52
|
+
:'pending_delegations' => :'pending_delegations'
|
|
49
53
|
}
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -68,7 +72,8 @@ module FetchHive::Generated
|
|
|
68
72
|
:'model' => :'String',
|
|
69
73
|
:'usage' => :'TokenUsage',
|
|
70
74
|
:'tool_calls' => :'Array<ToolInvocation>',
|
|
71
|
-
:'artifacts' => :'Array<GeneratedArtifact>'
|
|
75
|
+
:'artifacts' => :'Array<GeneratedArtifact>',
|
|
76
|
+
:'pending_delegations' => :'Array<PendingDelegation>'
|
|
72
77
|
}
|
|
73
78
|
end
|
|
74
79
|
|
|
@@ -125,6 +130,12 @@ module FetchHive::Generated
|
|
|
125
130
|
self.artifacts = value
|
|
126
131
|
end
|
|
127
132
|
end
|
|
133
|
+
|
|
134
|
+
if attributes.key?(:'pending_delegations')
|
|
135
|
+
if (value = attributes[:'pending_delegations']).is_a?(Array)
|
|
136
|
+
self.pending_delegations = value
|
|
137
|
+
end
|
|
138
|
+
end
|
|
128
139
|
end
|
|
129
140
|
|
|
130
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -153,7 +164,8 @@ module FetchHive::Generated
|
|
|
153
164
|
model == o.model &&
|
|
154
165
|
usage == o.usage &&
|
|
155
166
|
tool_calls == o.tool_calls &&
|
|
156
|
-
artifacts == o.artifacts
|
|
167
|
+
artifacts == o.artifacts &&
|
|
168
|
+
pending_delegations == o.pending_delegations
|
|
157
169
|
end
|
|
158
170
|
|
|
159
171
|
# @see the `==` method
|
|
@@ -165,7 +177,7 @@ module FetchHive::Generated
|
|
|
165
177
|
# Calculates hash code according to all attributes.
|
|
166
178
|
# @return [Integer] Hash code
|
|
167
179
|
def hash
|
|
168
|
-
[request_id, response, thread_id, model, usage, tool_calls, artifacts].hash
|
|
180
|
+
[request_id, response, thread_id, model, usage, tool_calls, artifacts, pending_delegations].hash
|
|
169
181
|
end
|
|
170
182
|
|
|
171
183
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -21,6 +21,12 @@ module FetchHive::Generated
|
|
|
21
21
|
# Specific objective for the planner to create work nodes from.
|
|
22
22
|
attr_accessor :objective
|
|
23
23
|
|
|
24
|
+
# When true, the run never pauses for clarification or budget approval. Defaults to false.
|
|
25
|
+
attr_accessor :unattended
|
|
26
|
+
|
|
27
|
+
# Unattended budget behavior when spend would otherwise need approval. stop fails the run; proceed_to_cap continues until the hard cap.
|
|
28
|
+
attr_accessor :budget_policy
|
|
29
|
+
|
|
24
30
|
attr_accessor :sources
|
|
25
31
|
|
|
26
32
|
# Flat caller-defined metadata stored separately from internal metadata for log display and filtering. Keys must be non-empty strings; values must be strings, numbers, booleans, or null.
|
|
@@ -28,11 +34,35 @@ module FetchHive::Generated
|
|
|
28
34
|
|
|
29
35
|
attr_accessor :async
|
|
30
36
|
|
|
37
|
+
class EnumAttributeValidator
|
|
38
|
+
attr_reader :datatype
|
|
39
|
+
attr_reader :allowable_values
|
|
40
|
+
|
|
41
|
+
def initialize(datatype, allowable_values)
|
|
42
|
+
@allowable_values = allowable_values.map do |value|
|
|
43
|
+
case datatype.to_s
|
|
44
|
+
when /Integer/i
|
|
45
|
+
value.to_i
|
|
46
|
+
when /Float/i
|
|
47
|
+
value.to_f
|
|
48
|
+
else
|
|
49
|
+
value
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def valid?(value)
|
|
55
|
+
!value || allowable_values.include?(value)
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
31
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
60
|
def self.attribute_map
|
|
33
61
|
{
|
|
34
62
|
:'hive_agent' => :'hive_agent',
|
|
35
63
|
:'objective' => :'objective',
|
|
64
|
+
:'unattended' => :'unattended',
|
|
65
|
+
:'budget_policy' => :'budget_policy',
|
|
36
66
|
:'sources' => :'sources',
|
|
37
67
|
:'metadata' => :'metadata',
|
|
38
68
|
:'async' => :'async'
|
|
@@ -54,6 +84,8 @@ module FetchHive::Generated
|
|
|
54
84
|
{
|
|
55
85
|
:'hive_agent' => :'String',
|
|
56
86
|
:'objective' => :'String',
|
|
87
|
+
:'unattended' => :'Boolean',
|
|
88
|
+
:'budget_policy' => :'String',
|
|
57
89
|
:'sources' => :'HiveAgentSources',
|
|
58
90
|
:'metadata' => :'Hash<String, MetadataValue>',
|
|
59
91
|
:'async' => :'HiveAgentAsyncConfig'
|
|
@@ -94,6 +126,14 @@ module FetchHive::Generated
|
|
|
94
126
|
self.objective = nil
|
|
95
127
|
end
|
|
96
128
|
|
|
129
|
+
if attributes.key?(:'unattended')
|
|
130
|
+
self.unattended = attributes[:'unattended']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'budget_policy')
|
|
134
|
+
self.budget_policy = attributes[:'budget_policy']
|
|
135
|
+
end
|
|
136
|
+
|
|
97
137
|
if attributes.key?(:'sources')
|
|
98
138
|
self.sources = attributes[:'sources']
|
|
99
139
|
end
|
|
@@ -137,6 +177,8 @@ module FetchHive::Generated
|
|
|
137
177
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
138
178
|
return false if @hive_agent.nil?
|
|
139
179
|
return false if @objective.nil?
|
|
180
|
+
budget_policy_validator = EnumAttributeValidator.new('String', ["stop", "proceed_to_cap"])
|
|
181
|
+
return false unless budget_policy_validator.valid?(@budget_policy)
|
|
140
182
|
return false if @async.nil?
|
|
141
183
|
true
|
|
142
184
|
end
|
|
@@ -161,6 +203,16 @@ module FetchHive::Generated
|
|
|
161
203
|
@objective = objective
|
|
162
204
|
end
|
|
163
205
|
|
|
206
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
207
|
+
# @param [Object] budget_policy Object to be assigned
|
|
208
|
+
def budget_policy=(budget_policy)
|
|
209
|
+
validator = EnumAttributeValidator.new('String', ["stop", "proceed_to_cap"])
|
|
210
|
+
unless validator.valid?(budget_policy)
|
|
211
|
+
fail ArgumentError, "invalid value for \"budget_policy\", must be one of #{validator.allowable_values}."
|
|
212
|
+
end
|
|
213
|
+
@budget_policy = budget_policy
|
|
214
|
+
end
|
|
215
|
+
|
|
164
216
|
# Custom attribute writer method with validation
|
|
165
217
|
# @param [Object] async Value to be assigned
|
|
166
218
|
def async=(async)
|
|
@@ -178,6 +230,8 @@ module FetchHive::Generated
|
|
|
178
230
|
self.class == o.class &&
|
|
179
231
|
hive_agent == o.hive_agent &&
|
|
180
232
|
objective == o.objective &&
|
|
233
|
+
unattended == o.unattended &&
|
|
234
|
+
budget_policy == o.budget_policy &&
|
|
181
235
|
sources == o.sources &&
|
|
182
236
|
metadata == o.metadata &&
|
|
183
237
|
async == o.async
|
|
@@ -192,7 +246,7 @@ module FetchHive::Generated
|
|
|
192
246
|
# Calculates hash code according to all attributes.
|
|
193
247
|
# @return [Integer] Hash code
|
|
194
248
|
def hash
|
|
195
|
-
[hive_agent, objective, sources, metadata, async].hash
|
|
249
|
+
[hive_agent, objective, unattended, budget_policy, sources, metadata, async].hash
|
|
196
250
|
end
|
|
197
251
|
|
|
198
252
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The Fetch Hive public API lets you invoke prompts, workflows, agents, and Hive Agents programmatically using an API token. ## Authentication All requests require a Bearer token in the `Authorization` header: ``` Authorization: Bearer <your-api-token> ``` ## Streaming Pass `\"streaming\": true` in the request body to receive a `text/event-stream` response. Each event is a JSON object sent as `data: <json>\\n\\n`. The stream ends with `data: [DONE]\\n\\n`.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.2.
|
|
6
|
+
The version of the OpenAPI document: 0.2.9
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.22.0
|