# ResourceShark docs > Every page of the ResourceShark docs, with each API reference page's operations. https://agentpost.tools/llms.txt lists every section of Agentpost's docs. Read any page as Markdown: add `.md` to its address, such as https://agentpost.tools/docs/platform/quickstart.md, or ask for it with `Accept: text/markdown`. Each Markdown page starts with YAML that gives its title, description, address, kind, and what it needs. https://agentpost.tools/llms-full.txt is every page in one file. OpenAPI description of the section's API, for tools that build or check requests: https://agentpost.tools/docs/resourceshark/openapi.json - [ResourceShark](https://agentpost.tools/docs/resourceshark.md): Learn what ResourceShark manages, when it fits your product, and how to make your first reservation. - [ResourceShark quickstart](https://agentpost.tools/docs/resourceshark/quickstart.md): Add stock at a place, reserve part of it, and commit the hold through the API. ## Concepts - [ResourceShark resources](https://agentpost.tools/docs/resourceshark/concepts/resources.md): Learn how a resource defines its unit, identifies what it counts, and sets rules for supply and shortages. - [ResourceShark scopes](https://agentpost.tools/docs/resourceshark/concepts/scopes.md): Learn how places, condition labels, holders, and named units determine which balance a request uses. - [ResourceShark supply](https://agentpost.tools/docs/resourceshark/concepts/supply.md): Learn when supply becomes available, how draws and expiry work, and how batches group related entries. - [ResourceShark holds](https://agentpost.tools/docs/resourceshark/concepts/holds.md): Learn what a hold reserves, when it expires, how it ends, and what each refusal tells you. - [ResourceShark claims](https://agentpost.tools/docs/resourceshark/concepts/claims.md): Learn how claims record holds, permanent takes, estimates, and bookings. - [ResourceShark schedules](https://agentpost.tools/docs/resourceshark/concepts/schedules.md): Learn how time buckets, weekly hours, and exceptions set capacity and how to read slots and over-capacity answers. - [ResourceShark movements](https://agentpost.tools/docs/resourceshark/concepts/movements.md): Learn how movements record changes to balances and how to follow those changes by scope and sequence. - [ResourceShark totals](https://agentpost.tools/docs/resourceshark/concepts/totals.md): Learn how totals combine current balances and sum movements by reason over a period. - [ResourceShark source keys](https://agentpost.tools/docs/resourceshark/concepts/source-keys.md): Learn how source keys identify a business change and how idempotency keys identify request attempts. - [ResourceShark change feed](https://agentpost.tools/docs/resourceshark/concepts/change-feed.md): Learn what the change feed records and how to read it in order before retention removes entries. ## Guides - [Change ResourceShark's config](https://agentpost.tools/docs/resourceshark/guides/config.md): Read a project's ResourceShark config and replace its retention settings, using the version you read. - [Sell prepaid credits](https://agentpost.tools/docs/resourceshark/guides/prepaid-credits.md): Add purchased credits to each holder's balance, spend them, handle a payment dispute, and show a player their own history. - [Post recurring supply](https://agentpost.tools/docs/resourceshark/guides/recurring-supply.md): Post monthly supply for a spending limit, an expiring subscription, and credits that roll over. - [Sum usage with totals](https://agentpost.tools/docs/resourceshark/guides/usage-totals.md): Read per-resource totals, sum usage by unit and movement reason, and calculate the remaining value of a paid pack. - [Book time slots](https://agentpost.tools/docs/resourceshark/guides/bookings.md): List a court's free hours, book one, move bookings to another hour or court, swap two, and cancel one, from your server. - [Build a booking page](https://agentpost.tools/docs/resourceshark/guides/booking-page.md): Build a page that lists a court's hours, holds one through your server, counts the hold down, and extends or releases it, in React or plain TypeScript. - [Limit hold length and booking window](https://agentpost.tools/docs/resourceshark/guides/hold-limits.md): Enforce your app's hold length and booking window before your server places a hold. - [Cap a holder's open holds](https://agentpost.tools/docs/resourceshark/guides/hold-cap.md): Give each holder a fixed number of units and reserve one in every hold to enforce an open-hold cap. - [Take a payment after a hold expired](https://agentpost.tools/docs/resourceshark/guides/late-payment.md): Read what is still available after an expired checkout hold, then buy the same stock if your payment handler decides to go ahead. - [Label stock conditions](https://agentpost.tools/docs/resourceshark/guides/conditions.md): Keep stock condition labels in your app and read the separate balance for each label at a place. ## SDK - [ResourceShark SDK](https://agentpost.tools/docs/resourceshark/sdk.md): Choose a ResourceShark SDK entry point and create a typed client with the credential your code needs. - [Hold workflow](https://agentpost.tools/docs/resourceshark/sdk/hold-workflow.md): Read slots, place and manage a hold, and show its countdown in TypeScript or React. - [Server helper](https://agentpost.tools/docs/resourceshark/sdk/server.md): Expose a hold endpoint for your app and handle commit outcomes on your server. - [Helpers](https://agentpost.tools/docs/resourceshark/sdk/helpers.md): Prepare recurring supply, sum totals, read shortfalls, take back supply, and format slot times. - [Refusal readers](https://agentpost.tools/docs/resourceshark/sdk/refusal-readers.md): Read what a ResourceShark error carries, such as the short lines of a refused hold, from the error the SDK client throws. ## API reference - [ResourceShark API reference](https://agentpost.tools/docs/resourceshark/reference.md): Find every ResourceShark API operation, its request and response, and who may call it. - [ResourceShark API: Config](https://agentpost.tools/docs/resourceshark/reference/config.md): Get the config or update the config, with the ResourceShark API. - `GET /config`: Get the config - `PUT /config`: Update the config - [ResourceShark API: Resources](https://agentpost.tools/docs/resourceshark/reference/resources.md): Create a resource, list resources, get a resource, update a resource, or archive a resource, with the ResourceShark API. - `POST /resources`: Create a resource - `GET /resources`: List resources - `GET /resources/:id`: Get a resource - `PATCH /resources/:id`: Update a resource - `POST /resources/:id/archive`: Archive a resource - [ResourceShark API: Places](https://agentpost.tools/docs/resourceshark/reference/places.md): Create a place, list places, or update a place, with the ResourceShark API. - `POST /places`: Create a place - `GET /places`: List places - `PATCH /places/:id`: Update a place - [ResourceShark API: Instances](https://agentpost.tools/docs/resourceshark/reference/instances.md): Create an instance, list instances, update an instance, or list free instances, with the ResourceShark API. - `POST /resources/:id/instances`: Create an instance - `GET /resources/:id/instances`: List instances - `PATCH /resources/:id/instances/:iid`: Update an instance - `GET /resources/:id/free-instances`: List free instances - [ResourceShark API: Supply](https://agentpost.tools/docs/resourceshark/reference/supply.md): Add supply, list supply, get a supply entry, or reverse supply, with the ResourceShark API. - `POST /supply`: Add supply - `GET /supply`: List supply - `GET /supply/:id`: Get a supply entry - `POST /supply/:id/reverse`: Reverse supply - [ResourceShark API: Batches](https://agentpost.tools/docs/resourceshark/reference/batches.md): Create a batch, list batches, get a batch, or update a batch, with the ResourceShark API. - `POST /batches`: Create a batch - `GET /batches`: List batches - `GET /batches/:id`: Get a batch - `PATCH /batches/:id`: Update a batch - [ResourceShark API: Availability](https://agentpost.tools/docs/resourceshark/reference/availability.md): Check availability, get a balance, list a holder's balances, or get a holder's balance, with the ResourceShark API. - `POST /availability`: Check availability - `GET /resources/:id/balance`: Get a balance - `GET /holders/:ref/balances`: List a holder's balances - `GET /holders/:ref/balances/:resourceId`: Get a holder's balance - [ResourceShark API: Holds](https://agentpost.tools/docs/resourceshark/reference/holds.md): Place a hold, list holds, get a hold, extend a hold, commit a hold, release a hold, cancel a committed hold, or reschedule a hold, with the ResourceShark API. - `POST /holds`: Place a hold - `GET /holds`: List holds - `GET /holds/:id`: Get a hold - `POST /holds/:id/extend`: Extend a hold - `POST /holds/:id/commit`: Commit a hold - `POST /holds/:id/release`: Release a hold - `POST /holds/:id/cancel`: Cancel a committed hold - `POST /reschedule`: Reschedule a hold - [ResourceShark API: Claims](https://agentpost.tools/docs/resourceshark/reference/claims.md): Consume supply, settle an estimated claim, list claims, or get a claim, with the ResourceShark API. - `POST /consume`: Consume supply - `POST /settle`: Settle an estimated claim - `GET /claims`: List claims - `GET /claims/:id`: Get a claim - [ResourceShark API: Schedules](https://agentpost.tools/docs/resourceshark/reference/schedules.md): Save a schedule, get a schedule, create a schedule exception, list schedule exceptions, update a schedule exception, or delete a schedule exception, with the ResourceShark API. - `PUT /resources/:id/schedule`: Save a schedule - `GET /resources/:id/schedule`: Get a schedule - `POST /resources/:id/exceptions`: Create a schedule exception - `GET /resources/:id/exceptions`: List schedule exceptions - `PATCH /resources/:id/exceptions/:eid`: Update a schedule exception - `DELETE /resources/:id/exceptions/:eid`: Delete a schedule exception - [ResourceShark API: Slots](https://agentpost.tools/docs/resourceshark/reference/slots.md): List slots, with the ResourceShark API. - `GET /slots`: List slots - [ResourceShark API: Stock](https://agentpost.tools/docs/resourceshark/reference/stock.md): Transfer stock, record a count, adjust stock, record a conversion, or get a conversion, with the ResourceShark API. - `POST /transfers`: Transfer stock - `POST /counts`: Record a count - `POST /adjustments`: Adjust stock - `POST /transformations`: Record a conversion - `GET /transformations/:id`: Get a conversion - [ResourceShark API: Movements](https://agentpost.tools/docs/resourceshark/reference/movements.md): List movements or get a movement, with the ResourceShark API. - `GET /movements`: List movements - `GET /movements/:id`: Get a movement - [ResourceShark API: Reports](https://agentpost.tools/docs/resourceshark/reference/reports.md): Get totals, with the ResourceShark API. - `GET /reports/totals`: Get totals - [ResourceShark API: Events](https://agentpost.tools/docs/resourceshark/reference/events.md): Read events, with the ResourceShark API. - `GET /events`: Read events - [ResourceShark errors](https://agentpost.tools/docs/resourceshark/errors.md): Look up a ResourceShark error code to learn its class, what it means, and what to do next.