canonical: https://jentic.com/apis/spaceb.in/spaceb

# Spacebin

Spacebin is a modern Pastebin server. The API allows creating and retrieving text documents (pastes). The API exposes 5 endpoints.

## For AI agents

Programmatically create a new document, fetch a document by id. Covers 5 operations.

## Scope

Does not handle payments, communications, or crm - use for cloud infrastructure only.

## Capabilities

- Create a new document
- Fetch a document by ID
- Health check
- Get instance configuration
- Monitor Spacebin operational status and events

## Use cases

### Cloud Infrastructure Operations

Use the Spacebin to perform cloud infrastructure operations programmatically. The API provides 5 endpoints covering core functionality including create a new document, fetch a document by id, fetch raw plain text content of a document.

Example prompt: Call POST /api/ to create a new document

### Automated Documents Management

Automate documents operations by combining multiple Spacebin endpoints. Agents can fetch a document by id and then fetch raw plain text content of a document in a single workflow.

Example prompt: Call GET `/api/{documentId}` to fetch a document by id, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Spacebin endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.

Example prompt: Search Jentic for 'create a new document', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/api/` | Create a new document |
| GET | `/api/{documentId}` | Fetch a document by ID |
| GET | `/api/{documentId}/raw` | Fetch raw plain text content of a document |
| GET | `/ping` | Health check |
| GET | `/config` | Get instance configuration |

## Key resources

- **Documents** — Create and retrieve paste documents
- **System** — System health and configuration

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 62 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 64 / 100
  - Developer Experience & Jentic Compatibility: 60 / 100
  - AI-Readiness & Agent Experience: 43 / 100
  - Agent Usability: 94 / 100
  - Security: 100 / 100
  - AI Discoverability: 60 / 100
- **View full report:** https://jentic.com/apis/spaceb.in/spaceb/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring Spacebin by hand means reading its unauthenticated paste API, tracking the returned document id, and constructing the raw and lookup URLs yourself. Through Jentic you install once, import Spacebin from the API Directory, and your agent calls it.
- **Permission scoping:** Spacebin needs no credential, so scoping is about operations: limit the agent to the operations it needs, such as creating a document or fetching one by id. You choose the operations it may call, so it only does what you allow and nothing more.
- **Credential handling:** Spacebin requires no credential, so there is no secret to store. Any configuration your Jentic One instance holds stays out of the agent's prompt, logs, and context.
- **Discovery method:** Agents search Jentic by intent such as 'create a new document' or 'fetch a paste as raw text', and Jentic returns the matching Spacebin operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Amazonaws** — Alternative cloud infrastructure API
- **Azure** — Alternative cloud infrastructure API
- **Googleapis** — Complementary cloud infrastructure API
- **Digitalocean** — Complementary cloud infrastructure API

## FAQ

### What authentication does the Spacebin use?

The Spacebin uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I create a new document with the Spacebin?

Yes. Use the POST /api/ endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Spacebin?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I create a new document through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create a new document'. Jentic returns the matching Spacebin operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Spacebin have?

The Spacebin exposes 5 endpoints covering documents, system operations.

### Can I limit what my agent is allowed to do with the Spacebin API?

Yes. Because Spacebin needs no credential, scoping is about operations, and Jentic One is self-hosted by you, so your own rules decide which operations the agent may call. You can allow it to create a document with POST /api/ while blocking retrieval, or restrict it to fetching a document by id or its raw text and nothing more. The agent can only run the operations you permit.
