Client Libraries and Tools
Choose a client or command-line tool for the Y2 API
Generate a client from the OpenAPI contract, or make requests with an HTTP client. Choose a guide for your runtime:
TypeScript
Make a typed request with native fetch.
Python
Make requests with the standard library.
Y2 command line
Install the native harness and run Agent Y2.
curl recipes
Read, export, and update API resources from a shell.
Other integration tools
| Tool | Use |
|---|---|
| API Workbench | Inspect operations and run read requests |
| MCP server | Give a local agent access to Y2 tools |
| OpenAPI generator | Generate types or a client for another language |
Create an API key before making authenticated requests. Keep the key on your server or local runtime.
Check a generated client
Check these behaviors before using a generated client:
- Use the operation's server override for Intel v2.
- Preserve response headers for pagination, limits, and request IDs.
- Handle Problem Details.
- Handle each response format your integration uses.
- Keep generated code in source control or pin the input specification.
Package method names depend on the release. Compare the installed package with the current endpoint reference.