Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Cloud Infrastructure / Codehooks API
Codehooks API logo

Codehooks API

Agent-ready OpenAPI document · curated by JenticCloud InfrastructureServerlessapiKey12 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Read and write documents, key-value pairs, and queue items in a Codehooks.io serverless backend using an x-apikey header.

Use for: Insert a new document into a Codehooks collection, Query the orders collection for records created today, Set a value in the Codehooks key-value store, Add a job to the Codehooks email-send queue

Not supported: Does not handle function deployment, billing, or user account management - use for runtime data, key-value, queue, and log operations on a Codehooks project only.

Jentic publishes the only available OpenAPI specification for Codehooks API, keeping it validated and agent-ready. Codehooks.io is a serverless backend-as-a-service that bundles a NoSQL document store, key-value store, queues, scheduled jobs, and serverless JavaScript or TypeScript functions behind a single API. The runtime API exposes 12 endpoints for collection CRUD, key-value operations, queue inserts, project info, and log streaming, all scoped to a project under a space-specific subdomain. Authentication is an x-apikey header issued per project, and the data API doubles as the storage layer for any Codehooks-deployed function.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Codehooks API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Codehooks API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fcodehooks.io%2Fcodehooks" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fcodehooks.io%2Fcodehooks" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Codehooks API.

Create, query, replace, patch, and delete documents in any Codehooks collection via /{collection} endpoints

Set, fetch, and delete arbitrary key-value pairs through /kv/{key}

Enqueue background jobs by posting to /queue/{name}

Stream recent application logs from a Codehooks project via GET /_log

Resolve project and space metadata via GET /_info

Run rich queries against collections by passing filter parameters to GET /{collection}

Partially update existing documents using PATCH /{collection}/{id} without replacing the full record

Use Cases

Patterns agents use Codehooks API for, with concrete tasks.

★ Lightweight Backend for an MVP

Use Codehooks as the entire backend for an MVP - collections store user and product data, the KV store holds feature flags, and queues coordinate background work. Front-end clients call /{collection} for CRUD without standing up a separate database, ORM, or hosting tier. Cuts time-to-first-user from weeks to a single afternoon.

Provision an 'orders' collection by POSTing a sample document to /orders, then read it back with GET /orders to confirm persistence

Background Job Orchestration via Queues

Move long-running work - email sends, PDF generation, third-party syncs - into Codehooks queues so user-facing requests stay fast. The agent calls POST /queue/{name} to enqueue jobs, and a Codehooks function consumes them asynchronously. Replaces ad hoc setTimeout patterns and gives jobs visible retry semantics.

POST {to: 'alice@example.com', template: 'welcome'} to /queue/email-send and confirm the response includes the queued message id

Configuration and Feature Flag Storage

Use the key-value store as a remote configuration and feature flag store for client apps. The agent writes flags via PUT /kv/{key} and clients read via GET /kv/{key} with a short cache. Avoids redeploying the front-end every time a flag flips while keeping the storage stack inside the same Codehooks project.

PUT {value: true} to /kv/feature.checkout-v2 and verify GET /kv/feature.checkout-v2 returns true

Operational Log Inspection

Pull recent logs from a Codehooks project to debug a misbehaving function without leaving the agent loop. GET /_log returns the latest entries, which the agent can filter by severity and timestamp before posting a triage summary to the developer. Saves a context switch into the Codehooks dashboard.

Call GET /_log, filter to severity=error in the last 30 minutes, and summarise the top three error messages

Agent-Driven Backend Operations via Jentic

An AI agent connected to Jentic can run end-to-end Codehooks workflows - read a document, enqueue a job, write a flag - in a single intent. Jentic stores the project x-apikey in its vault and resolves the space-specific base URL so the agent only specifies the operation. The raw API key never enters agent context.

Search Jentic for 'create Codehooks document', execute POST /{collection}=customers, then enqueue a follow-up via POST /queue/onboarding-email

Key Endpoints

12 endpoints — jentic publishes the only available openapi specification for codehooks api, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

GET

/{collection}

Query documents in a collection

POST

/{collection}

Create a document

PATCH

/{collection}/{id}

Partially update a document

DELETE

/{collection}/{id}

Delete a document

GET

/kv/{key}

Get a key-value pair

PUT

/kv/{key}

Set a key-value pair

POST

/queue/{name}

Enqueue an item

GET

/_log

Get application logs

GET

/{collection}

Query documents in a collection

POST

/{collection}

Create a document

PATCH

/{collection}/{id}

Partially update a document

DELETE

/{collection}/{id}

Delete a document

GET

/kv/{key}

Get a key-value pair

PUT

/kv/{key}

Set a key-value pair

POST

/queue/{name}

Enqueue an item

GET

/_log

Get application logs

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring Codehooks by hand means sending its x-apikey header, resolving the per-project host with its space, hash, and project segments, and handling collection, key-value, and queue calls yourself. Through Jentic you install once, import the Codehooks API from the API Directory, store the key once, and your agent calls it.

Permission scoping

Permission scoping

Codehooks puts the collection, key, and queue name in the URL path (/{collection}/{id}, /kv/{key}, /queue/{name}), so a rule can pin your agent to one collection or queue: it reads and writes that resource and nothing else. You choose the operations it may call, so destructive ones like deleting a document are not included unless you add them.

Credential management

Credential isolation

Your Codehooks x-apikey value is stored once, encrypted, by your own Jentic One instance and injected at execution time as the x-apikey header. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'insert a Codehooks document' or 'enqueue a Codehooks job', and Jentic returns the matching operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Supabase API

→

Open source Postgres-backed BaaS with auth, storage, and edge functions

Choose Supabase when SQL, row-level security, and a Postgres ecosystem matter; Codehooks is lighter weight for NoSQL document use cases

Alternative

Appwrite Server API

→

Self-hostable BaaS covering databases, auth, storage, and functions

Choose Appwrite when self-hosting is required; choose Codehooks for a fully hosted serverless surface

Complementary

Render API

→

Hosts long-running services and cron jobs that Codehooks functions can call into

Use Render when long-running workers are needed alongside Codehooks for short, document-driven CRUD

FAQs

Specific to using Codehooks API through Jentic.

Why is there no official OpenAPI spec for Codehooks API?

Codehooks.io does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Codehooks API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Codehooks API use?

The Codehooks API uses an API key in the x-apikey header. Generate the key inside the Codehooks CLI or dashboard and scope it per project. Through Jentic the key is stored in the vault and never enters agent context.

Can I run queries against a Codehooks collection?

Yes. GET /{collection} accepts query parameters that filter documents by field equality, ranges, and pagination. The endpoint returns a JSON array, so an agent can iterate over results without hitting individual /{collection}/{id} endpoints.

What are the rate limits for the Codehooks API?

Codehooks does not publish a fixed public rate limit; limits depend on the plan tier of the project. Treat the API as best-effort and back off on HTTP 429 responses. For high-throughput inserts, use queues so the runtime can absorb bursts.

How do I enqueue a background job through Jentic?

Search Jentic for 'add item to Codehooks queue', load the POST /queue/{name} schema, and execute it with the queue name and payload. Jentic injects the x-apikey from the vault and returns the queued message id.

Can I deploy serverless functions through this API?

No. Function deployment happens through the Codehooks CLI, not the runtime API. This spec covers the data plane - collections, key-value pairs, queues, project info, and logs. Functions you deploy via CLI then read and write through these same endpoints.

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

Yes. Because you run Jentic One yourself, your own rules decide which Codehooks operations and credentials the agent can use. Since Codehooks puts the collection, key, and queue name in the URL path (/{collection}/{id}, /kv/{key}, /queue/{name}), you can pin the agent to a single collection or queue so it reads and writes only that resource. You also pick the exact operations it may call, so a destructive one like DELETE /{collection}/{id} is available only if you add it.

GET STARTED

Start building with Codehooks API

Explore with Jentic One
View OpenAPI Document