For AI agents: this page is also available as Markdown at https://docs.refabric.com/setting-up/libraries-and-resources.md, and the index of every page is https://docs.refabric.com/llms.txt.
Setting Up
Libraries and resources
How to call the API from your language, and where the other developer resources are.
You call the API over HTTPS with any HTTP client. Every
example in these docs is plain HTTP — Python with requests, JavaScript with fetch, and cURL.
Packages
| Language | How to call the API | Install |
|---|---|---|
| Python | HTTP with requests | pip install requests |
| JavaScript / TypeScript | HTTP with the built-in fetch (Node.js 18 or later, Deno, Bun) | nothing to install |
| Any other | HTTP: Authorization: Key $REFABRIC_API_KEY, base URL https://api.refabric.com/v1 | your HTTP client |
JavaScript over HTTP
Submit, poll, read results and upload files with fetch.
Client setup
Where the key lives and what your client must do itself.
Platform resources
OpenAPI document
The whole public API as one OpenAPI document; generate a client from it.
Changelog
Every change to tasks, the Platform API and these docs.
Agent-readable surfaces
Plain-text and OpenAPI copies of the docs and the catalogue for AI agents.
Health
Whether the API is up.
Your keys, webhooks, jobs and usage are in Panel › Developers › Overview, signed in to Refabric.