This file contains hidden or 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
openapi: 3.0.0 | |
info: | |
title: Apollo.io API | |
version: 1.0.0 | |
description: | | |
Combined API specification for Apollo.io endpoints. | |
All endpoints are accessible via https://app.apollo.io/api/v1 | |
## Important Notes | |
1. Many parameters require prerequisite API calls to resolve their values |
This file contains hidden or 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
import json | |
import yaml | |
from typing import Dict, Any, Union | |
from pathlib import Path | |
from datetime import datetime, date | |
def load_spec(file_path: str) -> Dict[str, Any]: | |
"""Load an OpenAPI spec from a YAML or JSON file.""" | |
path = Path(file_path) | |
with open(path, 'r') as f: |
This file contains hidden or 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
{ | |
"agentsJson": "0.1.0", | |
"info": { | |
"title": "Google Docs API Flows", | |
"version": "0.1.0", | |
"description": "This specification enables interaction with the Google Docs API by exposing individual operations (create, get, batch update) as well as compound flows (e.g. create and retrieve) that orchestrate multiple API calls. Each flow is described in detail so that AI agents and language models can call these methods with high accuracy." | |
}, | |
"sources": [ | |
{ | |
"id": "googledocs", |
This file contains hidden or 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
{ | |
"agentsJson": "0.1.0", | |
"info": { | |
"title": "Google Docs API Flows", | |
"version": "0.1.0", | |
"description": "This specification enables interaction with the Google Docs API by exposing individual operations (create, get, batch update) as well as compound flows (e.g. create and retrieve) that orchestrate multiple API calls. Each flow is described in detail so that AI agents and language models can call these methods with high accuracy." | |
}, | |
"sources": [ | |
{ | |
"id": "googledocs", |
This file contains hidden or 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
// ... existing code ... | |
"items": { | |
"type": "object", | |
"description": "A single update request that modifies the document", | |
"properties": { | |
"insertText": { | |
"type": "object", | |
"properties": { | |
"text": { | |
"type": "string", |
This file contains hidden or 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
{ | |
"agentsJson": "0.1.0", | |
"info": { | |
"title": "Slack API Methods", | |
"version": "0.1.0", | |
"description": "This specification exposes a curated set of 24 Slack API operations. Each flow includes detailed descriptions and explicit token mappings so that embedding‐based search can accurately match tool capabilities to user requests." | |
}, | |
"sources": [ | |
{ | |
"id": "slack", |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
openapi: 3.0.0 | |
servers: | |
- url: https://slack.com/api | |
info: | |
contact: | |
name: Slack developer relations | |
url: https://api.slack.com/support | |
description: The Slack Web API allows you to interact with the Slack platform, including sending messages, managing channels and users, and integrating workspace features. | |
title: Slack Web API | |
version: 1.7.0 |
This file contains hidden or 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
{ | |
"agentsJson": "0.1.0", | |
"info": { | |
"title": "Slack API Methods", | |
"version": "0.1.0", | |
"description": "This specification exposes a curated set of 24 Slack API operations. Each flow includes detailed descriptions and explicit token mappings so that embedding‐based search can accurately match tool capabilities to user requests." | |
}, | |
"sources": [ | |
{ | |
"id": "slack", |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
openapi: 3.0.0 | |
servers: | |
- url: https://slack.com/api | |
info: | |
contact: | |
name: Slack developer relations | |
url: https://api.slack.com/support | |
description: The Slack Web API allows you to interact with the Slack platform, including sending messages, managing channels and users, and integrating workspace features. | |
title: Slack Web API | |
version: 1.7.0 |
This file contains hidden or 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
{ | |
"agentsJson": "0.1.0", | |
"info": { | |
"title": "Google Sheets API Methods", | |
"version": "0.1.0", | |
"description": "This specification enables interaction with the Google Sheets API by exposing both compound and individual operations. Each flow is defined clearly so that method callers or embedding-based search can easily match the functionality to operations such as creating spreadsheets, retrieving data, or updating cell values." | |
}, | |
"sources": [ | |
{ | |
"id": "googlesheets", |
NewerOlder