{
"detail": {
"code": "idempotency_key_required",
"message": "Send an Idempotency-Key header with this request."
}
}
{
"code": "<string>",
"detail": "<string>"
}
{
"code": "<string>",
"detail": "<string>"
}
{
"detail": {
"code": "order_book_not_found",
"message": "There is no order book for that hardware."
}
}
{
"detail": {
"code": "idempotency_conflict",
"message": "That request key was already used for a different request."
}
}
{
"detail": {
"code": "nodes_need_market_order",
"message": "Buy nodes with a market order. A limit bid takes a number of GPUs or vCPUs."
}
}
{
"code": "<string>",
"detail": "<string>"
}
Place a bid
Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization’s capacity.
nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node.
CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine’s memory and local disk. nodes takes whole machines.
Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order’s fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/ using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed.
Requires Idempotency-Key. Available to every member of your organization; approval is not required.
{
"detail": {
"code": "idempotency_key_required",
"message": "Send an Idempotency-Key header with this request."
}
}
{
"code": "<string>",
"detail": "<string>"
}
{
"code": "<string>",
"detail": "<string>"
}
{
"detail": {
"code": "order_book_not_found",
"message": "There is no order book for that hardware."
}
}
{
"detail": {
"code": "idempotency_conflict",
"message": "That request key was already used for a different request."
}
}
{
"detail": {
"code": "nodes_need_market_order",
"message": "Buy nodes with a market order. A limit bid takes a number of GPUs or vCPUs."
}
}
{
"code": "<string>",
"detail": "<string>"
}
CLI equivalent, a market bid for nodes: ornn market bid --gpu-slug <gpu-slug> --nodes 2 . Pass --idempotency-key to make a retry safe.Send a new Idempotency-Key for each bid. If the response is lost, retry with the same key and body: you get the original order back instead of a second bid. See Rent on Spot.To buy CPU capacity, bid on the cpu book. CPU capacity is sold in whole cores of 2 vCPUs, so there gpus counts vCPUs and must be at least 2 and even; any other count is refused with cpu_quantity_invalid.
Required. A unique key of 1 to 200 characters for this operation, such as a UUID. Retrying with the same key and the same body returns the original result with HTTP 200 instead of creating a second one. The key is remembered for 24 hours per organization; reusing it for a different request returns 409 idempotency_conflict. A missing key returns 400 idempotency_key_required.
Required string length: 1 - 200
Body
application/json
Send nodes with orderType market; on the cpu book, gpus (vCPUs) instead is allowed.
A region with an order book, for example us-east-11 (see GET /v1/markets/books), or a pattern in which * stands for any characters, such as us-* to fill at any US location, including locations that open while a limit bid rests. Separate entries with commas to combine them (us-*,other-8). Omit to fill at any location. A region without a book, or a pattern that matches none, is refused with unknown_region.
The cpu book only, in vCPUs, at least 2 and even, as CPU capacity is sold in whole cores of 2 vCPUs (cpu_quantity_invalid otherwise); GPU books refuse it with whole_nodes_only. Send this or nodes.
Whole machines with their full GPU or vCPU count. Capacity smaller than one whole machine is skipped. Market orders only (nodes_need_market_order on a limit). Send this or gpus.
Market node bids only. Omit the top-level region. Each region/size/rate tuple must be unique and quantities must sum to nodes. Only exact matches fill; unavailable selections stay unfilled.
Required for limit bids; omit for market bids. The most you pay per GPU-hour (vCPU-hour on the cpu book), fees included, in integer micro-USD (1000000 is $1.00).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ornn","description":"Ornn: The Omnicloud for AI Workloads\nOrnn is an omnicloud for high-performance GPU compute. Reserve capacity, manage your reservations, and connect via VM, Bare Metal, Kubernetes, or Slurm.","colors":{"primary":"#000000","light":"#F3F3F3","dark":"#0B0B0C"},"logo":{"light":"https://mintcdn.com/ornn/kJ0iqH_E0L2Jw6j6/images/ornn-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=kJ0iqH_E0L2Jw6j6\u0026q=85\u0026s=6f5b0c872f8bb7b4b5b6b8ab492dc2a6","dark":"https://mintcdn.com/ornn/kJ0iqH_E0L2Jw6j6/images/ornn-docs-logo-dark.svg?fit=max\u0026auto=format\u0026n=kJ0iqH_E0L2Jw6j6\u0026q=85\u0026s=518cd92bb74cb6eb82ac33e462421918","href":"https://ornn.com"},"favicon":"https://mintcdn.com/ornn/fNQRwmmR9H-yzza5/favicon.png?fit=max\u0026auto=format\u0026n=fNQRwmmR9H-yzza5\u0026q=85\u0026s=ae08364c28579651525833a71bd8ec7c","api":{"examples":{"languages":["curl","python","javascript","php","go","java","ruby"]}},"appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#0B0B0C"}},"navbar":{"links":[{"href":"/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Visit Ornn","href":"https://ornn.com"}},"footer":{"socials":{"x":"https://x.com/OrnnExchange","linkedin":"https://www.linkedin.com/company/ornn"}},"fonts":{"family":"PP Neue Montreal Regular","weight":400,"source":"fonts/PPNeueMontreal-Regular.woff2","format":"woff2"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf","mcp","add-mcp","cursor","vscode","devin-mcp","download-spec"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ornn","hasAudioNarration":false,"actualSubdomain":"ornn","customDomains":["docs.ornn.com"],"gitSource":{"type":"github","owner":"ornn-ai","repo":"fabric","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af238bb628bd61a64bfd725","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API reference","count":123},{"language":"default","tag":"Guides","count":30},{"language":"default","tag":"Storage","count":17},{"language":"default","tag":"VM and Bare Metal","count":13},{"language":"default","tag":"Private networks","count":12},{"language":"default","tag":"Order books","count":11},{"language":"default","tag":"Billing","count":10},{"language":"default","tag":"Disks","count":10},{"language":"default","tag":"Accessing Compute","count":9},{"language":"default","tag":"Monitoring","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@ornn.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/ornn/0f3bb7ade51d2cb7/style.css"}],"page":{"pagePath":"api-reference/order-books/place-bid","slug":"/api-reference/order-books/place-bid","pageMetadata":{"title":"Place a bid","openapi":"openapi.yaml POST /v1/markets/orders","description":"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization's capacity.\n\nnodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node.\n\nCPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine's memory and local disk. nodes takes whole machines.\n\nEach set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order's fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed.\n\nRequires Idempotency-Key. Available to every member of your organization; approval is not required.","href":"/api-reference/order-books/place-bid"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization’s capacity.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine’s memory and local disk. nodes takes whole machines.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order’s fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/\", \" using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Requires Idempotency-Key. Available to every member of your organization; approval is not required.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`CLI equivalent, a market bid for nodes: `,_jsx(_components.code,{children:`ornn market bid --gpu-slug \u003cgpu-slug> --nodes 2 `}),`. Pass `,_jsx(_components.code,{children:`--idempotency-key`}),` to make a retry safe.`]}),`\n`,_jsxs(_components.p,{children:[`Send a new `,_jsx(_components.code,{children:`Idempotency-Key`}),` for each bid. If the response is lost, retry with the same key and body: you get the original order back instead of a second bid. See `,_jsx(_components.a,{href:`/guides/pay-as-you-go#use-the-api`,children:`Rent on Spot`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To buy CPU capacity, bid on the `,_jsx(_components.code,{children:`cpu`}),` book. CPU capacity is sold in whole cores of 2 vCPUs, so there `,_jsx(_components.code,{children:`gpus`}),` counts vCPUs and must be at least 2 and even; any other count is refused with `,_jsx(_components.code,{children:`cpu_quantity_invalid`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Place a bid","openapi":"openapi.yaml POST /v1/markets/orders","description":"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization's capacity.\n\nnodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node.\n\nCPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine's memory and local disk. nodes takes whole machines.\n\nEach set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order's fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed.\n\nRequires Idempotency-Key. Available to every member of your organization; approval is not required.","href":"/api-reference/order-books/place-bid"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ornn/51d5a96cc0778150/region-picker.js","/_mintlify/custom/ornn/0f843ad695dae46a/toc-hatch.js","/_mintlify/custom/ornn/38a1cac05e624580/copy-page-label.js"],"openApiReferenceData":{"operation":{"operationId":"capacityPlaceBid","summary":"Place a bid","tags":["Order books"],"description":"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization's capacity.\n\nnodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node.\n\nCPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine's memory and local disk. nodes takes whole machines.\n\nEach set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order's fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed.\n\nRequires Idempotency-Key. Available to every member of your organization; approval is not required.","parameters":["24ac2212-1289-477f-aaa7-5e68ee44bb1c"],"requestBody":"2bb68da3-5dec-45a9-b3ed-1344c838e464","responses":{"200":"c938c14a-3593-4144-885b-b569451fdfa3","201":"640c1a37-c2fd-4988-9a04-7805ba994f37","400":"c88c9df2-0c71-404c-9563-879b9df90223","401":"301e4e7c-8075-4f2a-8803-6756c0ef378e","403":"66482378-2ac5-4224-96e6-61c05d089195","404":"46e7da8c-85f2-491c-9c9e-141510942432","409":"afac4ccc-44c6-424a-96f7-e52c75183924","422":"966b9a9e-36e4-4fe0-ac8f-b021666d2304","default":"d7518bc6-d4f6-49ea-b319-418a33d36dd7"},"method":"post","type":"path","servers":["b5278a3e-d7b4-4091-bdc0-1851b2a0c7e8"],"security":["baed9a0c-2c12-4011-8c36-813eef0e864e"],"path":"/v1/markets/orders","baseUrlOptions":["https://api.ornn.com"],"title":"Place a bid","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","php","go","java","ruby"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"24ac2212-1289-477f-aaa7-5e68ee44bb1c":{"name":"Idempotency-Key","in":"header","required":true,"description":"Required. A unique key of 1 to 200 characters for this operation, such as a UUID. Retrying with the same key and the same body returns the original result with HTTP 200 instead of creating a second one. The key is remembered for 24 hours per organization; reusing it for a different request returns 409 idempotency_conflict. A missing key returns 400 idempotency_key_required.","schema":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"description":"Required. A unique key of 1 to 200 characters for this operation, such as a UUID. Retrying with the same key and the same body returns the original result with HTTP 200 instead of creating a second one. The key is remembered for 24 hours per organization; reusing it for a different request returns 409 idempotency_conflict. A missing key returns 400 idempotency_key_required.","uniqueKey":"","typeLabel":"string"},"example":"3f1c2a9e-6b1d-4c55-9a77-0d2b8f1e4c10"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Send nodes with orderType market; on the cpu book, gpus (vCPUs) instead is allowed.","required":["gpuSlug","orderType"],"additionalProperties":false,"properties":{"gpuSlug":{"type":"string","description":"Catalog GPU slug of the order book, or cpu for CPU capacity.","isRequired":true,"uniqueKey":"gpuSlug","typeLabel":"string"},"orderType":{"type":"string","enum":["limit","market"],"description":"limit takes capacity at or below your price and rests the rest until it fills or you cancel. market takes what is for sale now and cancels the rest.","isRequired":true,"uniqueKey":"orderType","typeLabel":"enum\u003cstring>"},"saleType":{"type":"string","enum":["spot","on-demand"],"default":"spot","description":"spot: a reservation on the node can end the VM. on-demand: only a stop or the listing's end ends it.","uniqueKey":"saleType","typeLabel":"enum\u003cstring>"},"region":{"type":"string","description":"A region with an order book, for example us-east-11 (see GET /v1/markets/books), or a pattern in which * stands for any characters, such as us-* to fill at any US location, including locations that open while a limit bid rests. Separate entries with commas to combine them (us-*,other-8). Omit to fill at any location. A region without a book, or a pattern that matches none, is refused with unknown_region.","uniqueKey":"region","typeLabel":"string"},"gpus":{"type":"integer","minimum":1,"description":"The cpu book only, in vCPUs, at least 2 and even, as CPU capacity is sold in whole cores of 2 vCPUs (cpu_quantity_invalid otherwise); GPU books refuse it with whole_nodes_only. Send this or nodes.","uniqueKey":"gpus","typeLabel":"integer"},"nodes":{"type":"integer","minimum":1,"description":"Whole machines with their full GPU or vCPU count. Capacity smaller than one whole machine is skipped. Market orders only (nodes_need_market_order on a limit). Send this or gpus.","uniqueKey":"nodes","typeLabel":"integer"},"nodeSelections":{"type":"array","minItems":1,"maxItems":64,"description":"Market node bids only. Omit the top-level region. Each region/size/rate tuple must be unique and quantities must sum to nodes. Only exact matches fill; unavailable selections stay unfilled.","items":{"type":"object","required":["region","gpusPerNode","pricePerGpuHourMicroUsd","nodes"],"properties":{"region":{"type":"string","description":"A location with a book for this GPU type and sale type.","isRequired":true,"uniqueKey":"nodeSelections.items.[INDEX].region","typeLabel":"string"},"gpusPerNode":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"nodeSelections.items.[INDEX].gpusPerNode","typeLabel":"integer"},"pricePerGpuHourMicroUsd":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"nodeSelections.items.[INDEX].pricePerGpuHourMicroUsd","typeLabel":"integer"},"nodes":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"nodeSelections.items.[INDEX].nodes","typeLabel":"integer"}},"uniqueKey":"nodeSelections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"nodeSelections","typeLabel":"object[]"},"pricePerGpuHourMicroUsd":{"type":"integer","format":"int64","minimum":1,"description":"Required for limit bids; omit for market bids. The most you pay per GPU-hour (vCPU-hour on the cpu book), fees included, in integer micro-USD (1000000 is $1.00).","uniqueKey":"pricePerGpuHourMicroUsd","typeLabel":"integer\u003cint64>"},"diskId":{"type":"string","format":"uuid","description":"The disk every VM boots, from your disks or Ornn's. Omit to boot your newest disk, else Ornn's newest.","uniqueKey":"diskId","typeLabel":"string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"gpuSlug":"nvidia_h100_sxm","nodes":2,"orderType":"market"},"examples":{"Example":{"title":"Example","value":{"gpuSlug":"nvidia_h100_sxm","nodes":2,"orderType":"market"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c938c14a-3593-4144-885b-b569451fdfa3":{"description":"A retry with the same Idempotency-Key and body; returns the original order's current state.","content":{"application/json":{"schema":{"type":"object","required":["order"],"properties":{"order":{"type":"object","required":["orderId","side","status","isMine","isSeller"],"properties":{"orderId":{"type":"string","format":"uuid","description":"Order ID.","isRequired":true,"uniqueKey":"order.orderId","typeLabel":"string\u003cuuid>"},"side":{"type":"string","enum":["bid","ask"],"description":"bid for your bids; ask for capacity your listings offer on the book.","isRequired":true,"uniqueKey":"order.side","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Bids: resting (waiting for more), filled (everything requested bought), or cancelled (the rest withdrawn; its fills keep running). Asks: resting, exhausted (every GPU on its node sold), or cancelled. Handle unrecognized values.","isRequired":true,"uniqueKey":"order.status","typeLabel":"string"},"isMine":{"type":"boolean","description":"True when your organization placed this order.","isRequired":true,"uniqueKey":"order.isMine","typeLabel":"boolean"},"isSeller":{"type":"boolean","description":"True when the order is capacity your organization listed.","isRequired":true,"uniqueKey":"order.isSeller","typeLabel":"boolean"},"orderBookId":{"type":"string","format":"uuid","uniqueKey":"order.orderBookId","typeLabel":"string\u003cuuid>"},"gpuSlug":{"oneOf":[{"type":"string","description":"The book's GPU slug, or cpu for CPU capacity, where this order's GPU counts and prices count vCPUs.","uniqueKey":"order.gpuSlug.oneOf.0","typeLabel":"string"},{"type":"null","description":"The book's GPU slug, or cpu for CPU capacity, where this order's GPU counts and prices count vCPUs.","uniqueKey":"order.gpuSlug.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.gpuSlug","typeLabel":"string | null"},"saleType":{"oneOf":[{"type":"string","enum":["spot","on-demand",null],"uniqueKey":"order.saleType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["spot","on-demand",null],"uniqueKey":"order.saleType.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.saleType","typeLabel":"enum\u003cstring> | null"},"region":{"oneOf":[{"type":"string","description":"The region slug or pattern the order was placed with; null for a bid at any location. Each fill says where it runs.","uniqueKey":"order.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"The region slug or pattern the order was placed with; null for a bid at any location. Each fill says where it runs.","uniqueKey":"order.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.region","typeLabel":"string | null"},"orderType":{"type":"string","enum":["limit","market"],"uniqueKey":"order.orderType","typeLabel":"enum\u003cstring>"},"pricePerGpuHourMicroUsd":{"oneOf":[{"type":"integer","format":"int64","description":"The order's own price: a bid's limit, or null for a market bid. Each fill's price is on the fill and its reservation.","uniqueKey":"order.pricePerGpuHourMicroUsd.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The order's own price: a bid's limit, or null for a market bid. Each fill's price is on the fill and its reservation.","uniqueKey":"order.pricePerGpuHourMicroUsd.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.pricePerGpuHourMicroUsd","typeLabel":"integer\u003cint64> | null"},"requested":{"oneOf":[{"type":"integer","description":"The GPUs a bid asked for; for a bid for nodes, the GPUs it took. Null for an ask.","uniqueKey":"order.requested.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs a bid asked for; for a bid for nodes, the GPUs it took. Null for an ask.","uniqueKey":"order.requested.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.requested","typeLabel":"integer | null"},"remaining":{"oneOf":[{"type":"integer","description":"The GPUs a bid has not bought yet.","uniqueKey":"order.remaining.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs a bid has not bought yet.","uniqueKey":"order.remaining.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.remaining","typeLabel":"integer | null"},"filledNodes":{"oneOf":[{"type":"integer","description":"The nodes a bid has bought on, across its fills.","uniqueKey":"order.filledNodes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The nodes a bid has bought on, across its fills.","uniqueKey":"order.filledNodes.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.filledNodes","typeLabel":"integer | null"},"filledGpus":{"oneOf":[{"type":"integer","description":"The GPUs a bid has bought, across its fills.","uniqueKey":"order.filledGpus.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs a bid has bought, across its fills.","uniqueKey":"order.filledGpus.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.filledGpus","typeLabel":"integer | null"},"gpus":{"oneOf":[{"type":"integer","description":"The GPUs an ask has for sale now; null for a bid.","uniqueKey":"order.gpus.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs an ask has for sale now; null for a bid.","uniqueKey":"order.gpus.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.gpus","typeLabel":"integer | null"},"fillIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"order.fillIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"A bid's fills, oldest first; each is also a reservation ID.","uniqueKey":"order.fillIds","typeLabel":"string\u003cuuid>[]"},"gpusPerNode":{"oneOf":[{"type":"integer","description":"The GPUs per machine of an ask's listing; null for a bid.","uniqueKey":"order.gpusPerNode.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs per machine of an ask's listing; null for a bid.","uniqueKey":"order.gpusPerNode.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.gpusPerNode","typeLabel":"integer | null"},"cancelReason":{"oneOf":[{"type":"string","description":"For example unfilled_market_order, cancelled_by_owner, or cancelled_by_admin.","uniqueKey":"order.cancelReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"For example unfilled_market_order, cancelled_by_owner, or cancelled_by_admin.","uniqueKey":"order.cancelReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.cancelReason","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"order.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"order.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.createdAt","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"order","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"order":{"orderId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","orderBookId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","gpuSlug":"nvidia_h100_sxm","saleType":"spot","region":null,"side":"bid","orderType":"limit","pricePerGpuHourMicroUsd":2500000,"requested":16,"remaining":16,"filledNodes":0,"filledGpus":0,"fillIds":[],"status":"resting","cancelReason":null,"createdAt":"2026-10-14T18:30:00.000Z","isMine":true,"isSeller":false}},"examples":{"Example":{"title":"Example","value":{"order":{"orderId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","orderBookId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","gpuSlug":"nvidia_h100_sxm","saleType":"spot","region":null,"side":"bid","orderType":"limit","pricePerGpuHourMicroUsd":2500000,"requested":16,"remaining":16,"filledNodes":0,"filledGpus":0,"fillIds":[],"status":"resting","cancelReason":null,"createdAt":"2026-10-14T18:30:00.000Z","isMine":true,"isSeller":false}}}},"exampleType":"examples"}},"exampleType":"examples"},"640c1a37-c2fd-4988-9a04-7805ba994f37":{"description":"Bid placed. Check order.status: filled (everything requested bought), resting (waiting for more), or cancelled (a market bid's rest found nothing); fillIds lists what it bought.","content":{"application/json":{"schema":{"type":"object","required":["order"],"properties":{"order":{"type":"object","required":["orderId","side","status","isMine","isSeller"],"properties":{"orderId":{"type":"string","format":"uuid","description":"Order ID.","isRequired":true,"uniqueKey":"order.orderId","typeLabel":"string\u003cuuid>"},"side":{"type":"string","enum":["bid","ask"],"description":"bid for your bids; ask for capacity your listings offer on the book.","isRequired":true,"uniqueKey":"order.side","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Bids: resting (waiting for more), filled (everything requested bought), or cancelled (the rest withdrawn; its fills keep running). Asks: resting, exhausted (every GPU on its node sold), or cancelled. Handle unrecognized values.","isRequired":true,"uniqueKey":"order.status","typeLabel":"string"},"isMine":{"type":"boolean","description":"True when your organization placed this order.","isRequired":true,"uniqueKey":"order.isMine","typeLabel":"boolean"},"isSeller":{"type":"boolean","description":"True when the order is capacity your organization listed.","isRequired":true,"uniqueKey":"order.isSeller","typeLabel":"boolean"},"orderBookId":{"type":"string","format":"uuid","uniqueKey":"order.orderBookId","typeLabel":"string\u003cuuid>"},"gpuSlug":{"oneOf":[{"type":"string","description":"The book's GPU slug, or cpu for CPU capacity, where this order's GPU counts and prices count vCPUs.","uniqueKey":"order.gpuSlug.oneOf.0","typeLabel":"string"},{"type":"null","description":"The book's GPU slug, or cpu for CPU capacity, where this order's GPU counts and prices count vCPUs.","uniqueKey":"order.gpuSlug.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.gpuSlug","typeLabel":"string | null"},"saleType":{"oneOf":[{"type":"string","enum":["spot","on-demand",null],"uniqueKey":"order.saleType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["spot","on-demand",null],"uniqueKey":"order.saleType.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.saleType","typeLabel":"enum\u003cstring> | null"},"region":{"oneOf":[{"type":"string","description":"The region slug or pattern the order was placed with; null for a bid at any location. Each fill says where it runs.","uniqueKey":"order.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"The region slug or pattern the order was placed with; null for a bid at any location. Each fill says where it runs.","uniqueKey":"order.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.region","typeLabel":"string | null"},"orderType":{"type":"string","enum":["limit","market"],"uniqueKey":"order.orderType","typeLabel":"enum\u003cstring>"},"pricePerGpuHourMicroUsd":{"oneOf":[{"type":"integer","format":"int64","description":"The order's own price: a bid's limit, or null for a market bid. Each fill's price is on the fill and its reservation.","uniqueKey":"order.pricePerGpuHourMicroUsd.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The order's own price: a bid's limit, or null for a market bid. Each fill's price is on the fill and its reservation.","uniqueKey":"order.pricePerGpuHourMicroUsd.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.pricePerGpuHourMicroUsd","typeLabel":"integer\u003cint64> | null"},"requested":{"oneOf":[{"type":"integer","description":"The GPUs a bid asked for; for a bid for nodes, the GPUs it took. Null for an ask.","uniqueKey":"order.requested.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs a bid asked for; for a bid for nodes, the GPUs it took. Null for an ask.","uniqueKey":"order.requested.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.requested","typeLabel":"integer | null"},"remaining":{"oneOf":[{"type":"integer","description":"The GPUs a bid has not bought yet.","uniqueKey":"order.remaining.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs a bid has not bought yet.","uniqueKey":"order.remaining.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.remaining","typeLabel":"integer | null"},"filledNodes":{"oneOf":[{"type":"integer","description":"The nodes a bid has bought on, across its fills.","uniqueKey":"order.filledNodes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The nodes a bid has bought on, across its fills.","uniqueKey":"order.filledNodes.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.filledNodes","typeLabel":"integer | null"},"filledGpus":{"oneOf":[{"type":"integer","description":"The GPUs a bid has bought, across its fills.","uniqueKey":"order.filledGpus.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs a bid has bought, across its fills.","uniqueKey":"order.filledGpus.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.filledGpus","typeLabel":"integer | null"},"gpus":{"oneOf":[{"type":"integer","description":"The GPUs an ask has for sale now; null for a bid.","uniqueKey":"order.gpus.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs an ask has for sale now; null for a bid.","uniqueKey":"order.gpus.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.gpus","typeLabel":"integer | null"},"fillIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"order.fillIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"A bid's fills, oldest first; each is also a reservation ID.","uniqueKey":"order.fillIds","typeLabel":"string\u003cuuid>[]"},"gpusPerNode":{"oneOf":[{"type":"integer","description":"The GPUs per machine of an ask's listing; null for a bid.","uniqueKey":"order.gpusPerNode.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The GPUs per machine of an ask's listing; null for a bid.","uniqueKey":"order.gpusPerNode.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.gpusPerNode","typeLabel":"integer | null"},"cancelReason":{"oneOf":[{"type":"string","description":"For example unfilled_market_order, cancelled_by_owner, or cancelled_by_admin.","uniqueKey":"order.cancelReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"For example unfilled_market_order, cancelled_by_owner, or cancelled_by_admin.","uniqueKey":"order.cancelReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.cancelReason","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"order.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"order.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.createdAt","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"order","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"order":{"orderId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","orderBookId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","gpuSlug":"nvidia_h100_sxm","saleType":"spot","region":null,"side":"bid","orderType":"market","pricePerGpuHourMicroUsd":null,"requested":16,"remaining":0,"filledNodes":2,"filledGpus":16,"fillIds":["dddddddd-dddd-4ddd-8ddd-dddddddddddd"],"status":"filled","cancelReason":null,"createdAt":"2026-10-14T18:30:00.000Z","isMine":true,"isSeller":false}},"examples":{"Example":{"title":"Example","value":{"order":{"orderId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","orderBookId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","gpuSlug":"nvidia_h100_sxm","saleType":"spot","region":null,"side":"bid","orderType":"market","pricePerGpuHourMicroUsd":null,"requested":16,"remaining":0,"filledNodes":2,"filledGpus":16,"fillIds":["dddddddd-dddd-4ddd-8ddd-dddddddddddd"],"status":"filled","cancelReason":null,"createdAt":"2026-10-14T18:30:00.000Z","isMine":true,"isSeller":false}}}},"exampleType":"examples"}},"exampleType":"examples"},"c88c9df2-0c71-404c-9563-879b9df90223":{"description":"Missing Idempotency-Key or invalid body.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":{"code":"idempotency_key_required","message":"Send an Idempotency-Key header with this request."}},"examples":{"Example":{"title":"Example","value":{"detail":{"code":"idempotency_key_required","message":"Send an Idempotency-Key header with this request."}}}},"exampleType":"examples"}},"exampleType":"examples"},"301e4e7c-8075-4f2a-8803-6756c0ef378e":{"description":"The credential is missing, invalid, or revoked. Check the HTTP status before parsing the body.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"66482378-2ac5-4224-96e6-61c05d089195":{"description":"The credential lacks access to this operation, or the Reserve operation requires approval. An API key does not bypass these checks.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"46e7da8c-85f2-491c-9c9e-141510942432":{"description":"There is no order book for that GPU slug.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":{"code":"order_book_not_found","message":"There is no order book for that hardware."}},"examples":{"Example":{"title":"Example","value":{"detail":{"code":"order_book_not_found","message":"There is no order book for that hardware."}}}},"exampleType":"examples"}},"exampleType":"examples"},"afac4ccc-44c6-424a-96f7-e52c75183924":{"description":"The Idempotency-Key was already used for a different request (idempotency_conflict), or your organization is not yet approved and has no saved card (payment_method_required).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":{"code":"idempotency_conflict","message":"That request key was already used for a different request."}},"examples":{"Example":{"title":"Example","value":{"detail":{"code":"idempotency_conflict","message":"That request key was already used for a different request."}}}},"exampleType":"examples"}},"exampleType":"examples"},"966b9a9e-36e4-4fe0-ac8f-b021666d2304":{"description":"Both gpus and nodes were sent (quantity_conflict), neither was or it is not a positive whole number (invalid_quantity), gpus was sent for a GPU book (whole_nodes_only), gpus on the cpu book is odd or below 2 (cpu_quantity_invalid), nodes was sent with a limit (nodes_need_market_order), orderType or saleType is unknown (invalid_sale_type), the region has no order book or the pattern matches none (unknown_region), or a limit has no positive price.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":{"code":"nodes_need_market_order","message":"Buy nodes with a market order. A limit bid takes a number of GPUs or vCPUs."}},"examples":{"Example":{"title":"Example","value":{"detail":{"code":"nodes_need_market_order","message":"Buy nodes with a market order. A limit bid takes a number of GPUs or vCPUs."}}}},"exampleType":"examples"}},"exampleType":"examples"},"d7518bc6-d4f6-49ea-b319-418a33d36dd7":{"description":"Unsuccessful request. Check HTTP status first. Errors may have detail.code/detail.message, a string detail and optional top-level code, or an empty/non-JSON body. 401: invalid credential; 403: access or Reserve approval required; 404: not visible or credentials not ready; 409: lifecycle conflict; 429: back off; 5xx: service failure. Inspect current state before retrying mutations.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"detail.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"uniqueKey":"detail","typeLabel":"string | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"baed9a0c-2c12-4011-8c36-813eef0e864e":{"OrnnApiKey":{"type":"http","scheme":"bearer","bearerFormat":"ornn_sk_...","description":"Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.","scopes":[],"schemeName":"OrnnApiKey"}}},"servers":{"b5278a3e-d7b4-4091-bdc0-1851b2a0c7e8":{"url":"https://api.ornn.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"ornn_sk_...","description":"Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.","scopes":[],"schemeName":"OrnnApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OrnnApiKey","name":"Authorization"}],"title":"OrnnApiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"ornn","siteName":"Ornn","title":"Place a bid - Ornn","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T21:07:59.816Z","originalFileLocation":"api-reference/order-books/place-bid.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization\u0026#x27;s capacity. nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node. CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine\u0026#x27;s memory and local disk. nodes takes whole machines. Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order\u0026#x27;s fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed. Requires Idempotency-Key. Available to every member of your organization; approval is not required.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ornn\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Place a bid - Ornn\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization\u0026#x27;s capacity. nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node. CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine\u0026#x27;s memory and local disk. nodes takes whole machines. Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order\u0026#x27;s fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed. Requires Idempotency-Key. Available to every member of your organization; approval is not required.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ornn\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ornn.com/api-reference/order-books/place-bid\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ornn.mintlify.site/_mintlify/api/og/v2?division=Order+books\u0026amp;title=Place+a+bid\u0026amp;description=Bids+for+nodes.+GPU+books+sell+whole+nodes%2C+so+a+bid+there+sends+nodes+with+orderType+market%3B+gpus+is+refused+with+whole_nodes_only.+On+the+cpu+book%2C+send+exact\u0026amp;theme=3cb4facbf0c28da5810d277d\u0026amp;signature=02c1a77deb027ecd9998bf2851953a32cd1efdca7984d4609d9cbd1768a4d5de\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Place a bid - Ornn\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization\u0026#x27;s capacity. nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node. CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine\u0026#x27;s memory and local disk. nodes takes whole machines. Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order\u0026#x27;s fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed. Requires Idempotency-Key. Available to every member of your organization; approval is not required.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ornn.mintlify.site/_mintlify/api/og/v2?division=Order+books\u0026amp;title=Place+a+bid\u0026amp;description=Bids+for+nodes.+GPU+books+sell+whole+nodes%2C+so+a+bid+there+sends+nodes+with+orderType+market%3B+gpus+is+refused+with+whole_nodes_only.+On+the+cpu+book%2C+send+exact\u0026amp;theme=3cb4facbf0c28da5810d277d\u0026amp;signature=02c1a77deb027ecd9998bf2851953a32cd1efdca7984d4609d9cbd1768a4d5de\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ornn/xSbMvd8knxlcr1Zk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ornn\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ornn.com/api-reference/order-books/place-bid\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/order-books/place-bid.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ornn.com/#organization\",\"name\":\"Ornn\",\"url\":\"https://docs.ornn.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ornn/kJ0iqH_E0L2Jw6j6/images/ornn-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=kJ0iqH_E0L2Jw6j6\u0026q=85\u0026s=6f5b0c872f8bb7b4b5b6b8ab492dc2a6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ornn.com#website\",\"name\":\"Ornn\",\"url\":\"https://docs.ornn.com\",\"publisher\":{\"@id\":\"https://docs.ornn.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ornn.com/api-reference/order-books/place-bid#webpage\",\"url\":\"https://docs.ornn.com/api-reference/order-books/place-bid\",\"name\":\"Place a bid\",\"description\":\"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization's capacity. nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node. CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine's memory and local disk. nodes takes whole machines. Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order's fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed. Requires Idempotency-Key. Available to every member of your organization; approval is not required.\",\"dateModified\":\"2026-11-09T21:07:59.816Z\",\"isPartOf\":{\"@id\":\"https://docs.ornn.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ornn.com/api-reference/order-books/place-bid#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ornn.com/api-reference/order-books/place-bid#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Order books\",\"item\":\"https://docs.ornn.com/api-reference/order-books/list-books\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Place a bid\",\"item\":\"https://docs.ornn.com/api-reference/order-books/place-bid\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ornn.com/api-reference/order-books/place-bid#apireference\",\"headline\":\"Place a bid\",\"name\":\"Place a bid\",\"description\":\"Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price, across listings and, without a region, across locations. With gpus it takes vCPUs until it has enough, so one node can supply part of a bid and a bid can span nodes. With nodes it takes whole machines with their full GPU or vCPU count and skips capacity smaller than a whole machine; each node runs as one VM, or as a few VMs on hosts whose GPUs can only be split in powers of two (6 GPUs run as a 4-GPU and a 2-GPU VM). A limit bid rests whatever it did not take, and later capacity fills it further; a market bid takes what is for sale now and cancels the rest with cancelReason unfilled_market_order. A bid never takes your own organization's capacity. nodes needs a market order; a limit bid with nodes is refused with nodes_need_market_order. The order counts GPUs: a bid for nodes records the GPUs it took as requested, and is filled when it found every node. CPU capacity trades on the cpu book. There every GPU count in this operation counts vCPUs and prices are per vCPU-hour: CPU capacity is sold in whole cores of 2 vCPUs, so gpus must be at least 2 and even (cpu_quantity_invalid otherwise), and each VM gets its vCPUs with the same share of its machine's memory and local disk. nodes takes whole machines. Each set of GPUs the bid buys from one listing is a fill: one reservation whose ID is the fill ID, listed in the order's fillIds. The reservation appears shortly after the fill; poll GET /commerce/reservations/{reservationId} using the fill ID. Each hour is prepaid when it starts. Card-funded reservations charge the full hourly amount to the saved card and refund unused prepayment to that card; reservations using Ornn credits apply credits first, charge the card for the remainder, and return unused prepayment as credits. In the credits payment flow, approved organizations can bid without a card when credits cover the first hour. An organization that is not yet approved is refused with 409 payment_method_required without a saved card, and card-funded purchases require one even if credits are available. If an hour cannot be funded, the reservation ends with endReason payment_failed. Requires Idempotency-Key. Available to every member of your organization; approval is not required.\",\"url\":\"https://docs.ornn.com/api-reference/order-books/place-bid\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ornn.com/api-reference/order-books/place-bid#webpage\"},\"dateModified\":\"2026-11-09T21:07:59.816Z\",\"publisher\":{\"@id\":\"https://docs.ornn.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ornn.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ornn\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ornn","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Start here","pages":[{"title":"Integrate with the Ornn REST API","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Check API authentication","openapi":"openapi.yaml GET /v1/auth/session","href":"/api-reference/session"}]},{"group":"Reserved capacity","pages":[{"title":"List reservations","openapi":"openapi.yaml GET /commerce/reservations","href":"/api-reference/reservations/list"},{"title":"Get a reservation","openapi":"openapi.yaml GET /commerce/reservations/{reservationId}","href":"/api-reference/reservations/get"},{"title":"List reserved nodes","openapi":"openapi.yaml GET /v1/orchestrator/nodes","href":"/api-reference/nodes/list"}]},{"group":"VM and Bare Metal","pages":[{"title":"Choose a VM disk","openapi":"openapi.yaml PUT /commerce/reservations/{reservationId}/disk","href":"/api-reference/virtual-machines/set-image"},{"title":"Activate a reservation","openapi":"openapi.yaml POST /commerce/reservations/{reservationId}/activate","href":"/api-reference/virtual-machines/activate"},{"title":"Launch VM or Bare Metal access","openapi":"openapi.yaml POST /v1/orchestrator/nodes/reservations/{reservation_id}/launch","href":"/api-reference/virtual-machines/launch"},{"title":"List a reservation's VMs","openapi":"openapi.yaml GET /v1/orchestrator/reservations/{reservation_id}/virtual-machines","href":"/api-reference/virtual-machines/list"},{"title":"Reboot a VM","openapi":"openapi.yaml POST /v1/orchestrator/nodes/{node_id}/virtual-machines/{vm_id}/reboot","href":"/api-reference/virtual-machines/reboot"},{"title":"Reimage a VM","openapi":"openapi.yaml POST /v1/orchestrator/nodes/{node_id}/virtual-machines/{vm_id}/reimage","href":"/api-reference/virtual-machines/reimage"},{"title":"List a VM's ports","openapi":"openapi.yaml GET /v1/orchestrator/nodes/{node_id}/virtual-machines/{vm_id}/ports","href":"/api-reference/virtual-machines/list-ports"},{"title":"Open a VM port","openapi":"openapi.yaml POST /v1/orchestrator/nodes/{node_id}/virtual-machines/{vm_id}/ports","href":"/api-reference/virtual-machines/open-port"},{"title":"Close a VM port","openapi":"openapi.yaml DELETE /v1/orchestrator/nodes/{node_id}/virtual-machines/{vm_id}/ports/{port_id}","href":"/api-reference/virtual-machines/close-port"},{"title":"Get a reserved node","openapi":"openapi.yaml GET /v1/orchestrator/nodes/{node_id}","href":"/api-reference/bare-metal/get-node"},{"title":"Reboot or hard reset a Bare Metal host","openapi":"openapi.yaml POST /v1/orchestrator/nodes/{node_id}/reboot","href":"/api-reference/bare-metal/reboot"},{"title":"Switch access mode or network","openapi":"openapi.yaml POST /v1/orchestrator/nodes/reservations/{reservation_id}/switch-access","href":"/api-reference/virtual-machines/switch-access"},{"title":"Stop VMs or a reservation","openapi":"openapi.yaml DELETE /commerce/reservations/{reservationId}","href":"/api-reference/virtual-machines/stop"}]},{"group":"Disks","pages":[{"title":"List disks","openapi":"openapi.yaml GET /v1/orchestrator/disks","href":"/api-reference/disks/list"},{"title":"Get a disk","openapi":"openapi.yaml GET /v1/orchestrator/disks/{disk_id}","href":"/api-reference/disks/get"},{"title":"Create a disk","openapi":"openapi.yaml POST /v1/orchestrator/disks","href":"/api-reference/disks/create"},{"title":"Start a disk upload","openapi":"openapi.yaml POST /v1/orchestrator/disks/uploads","href":"/api-reference/disks/upload-start"},{"title":"Upload disk bytes","openapi":"openapi.yaml POST /v1/orchestrator/disks/objects","href":"/api-reference/disks/upload-bytes"},{"title":"Complete a disk upload","openapi":"openapi.yaml POST /v1/orchestrator/disks/uploads/{disk_id}/complete","href":"/api-reference/disks/upload-complete"},{"title":"Import a disk from a URL","openapi":"openapi.yaml POST /v1/orchestrator/disks/imports","href":"/api-reference/disks/import"},{"title":"Delete a disk","openapi":"openapi.yaml DELETE /v1/orchestrator/disks/{disk_id}","href":"/api-reference/disks/delete"},{"title":"List base images","openapi":"openapi.yaml GET /v1/orchestrator/catalog/images","href":"/api-reference/disks/list-images"},{"title":"List disk software","openapi":"openapi.yaml GET /v1/orchestrator/catalog/software","href":"/api-reference/disks/list-software"}]},{"group":"Clusters","pages":[{"title":"Create a cluster","openapi":"openapi.yaml POST /v1/orchestrator/controllers","href":"/api-reference/clusters/create"},{"title":"List clusters and workers","openapi":"openapi.yaml GET /v1/orchestrator/controllers","href":"/api-reference/clusters/list"},{"title":"Get cluster access","openapi":"openapi.yaml GET /v1/orchestrator/controllers/{controller_id}/access","href":"/api-reference/clusters/access"},{"title":"Tear down a cluster","openapi":"openapi.yaml POST /v1/orchestrator/controllers/{controller_id}/teardown","href":"/api-reference/clusters/teardown"}]},{"group":"Workers","pages":[{"title":"Add a physical worker","openapi":"openapi.yaml POST /v1/orchestrator/controllers/{controller_id}/nodes/{node_id}","href":"/api-reference/clusters/add-node"},{"title":"Remove a physical worker","openapi":"openapi.yaml DELETE /v1/orchestrator/controllers/{controller_id}/nodes/{node_id}","href":"/api-reference/clusters/remove-node"},{"title":"Add a VM worker","openapi":"openapi.yaml POST /v1/orchestrator/controllers/{controller_id}/virtual-machines/{virtual_machine_id}","href":"/api-reference/clusters/add-vm"},{"title":"Remove a VM worker","openapi":"openapi.yaml DELETE /v1/orchestrator/controllers/{controller_id}/virtual-machines/{virtual_machine_id}","href":"/api-reference/clusters/remove-vm"}]},{"group":"SSH keys","pages":[{"title":"List organization SSH keys","openapi":"openapi.yaml GET /v1/organizations/{organization_id}/ssh-keys","href":"/api-reference/ssh-keys/list"},{"title":"Add an organization SSH key","openapi":"openapi.yaml POST /v1/organizations/{organization_id}/ssh-keys","href":"/api-reference/ssh-keys/create"},{"title":"Revoke an organization SSH key","openapi":"openapi.yaml DELETE /v1/organizations/{organization_id}/ssh-keys/{key_id}","href":"/api-reference/ssh-keys/revoke"},{"title":"List a reservation's SSH keys","openapi":"openapi.yaml GET /v1/orchestrator/nodes/reservations/{reservation_id}/ssh-keys","href":"/api-reference/ssh-keys/reservation-list"},{"title":"Assign an SSH key to a reservation","openapi":"openapi.yaml POST /v1/orchestrator/nodes/reservations/{reservation_id}/ssh-keys","href":"/api-reference/ssh-keys/reservation-assign"},{"title":"Unassign an SSH key from a reservation","openapi":"openapi.yaml DELETE /v1/orchestrator/nodes/reservations/{reservation_id}/ssh-keys/{key_id}","href":"/api-reference/ssh-keys/reservation-unassign"},{"title":"Push SSH keys to a machine","openapi":"openapi.yaml POST /v1/orchestrator/nodes/{node_id}/push-keys","href":"/api-reference/ssh-keys/push"}]},{"group":"Storage","pages":[{"title":"List volumes","openapi":"openapi.yaml GET /v1/orchestrator/drives","href":"/api-reference/storage/list"},{"title":"Create a volume","openapi":"openapi.yaml POST /v1/orchestrator/drives","href":"/api-reference/storage/create"},{"title":"Get a volume","openapi":"openapi.yaml GET /v1/orchestrator/drives/{drive_id}","href":"/api-reference/storage/get"},{"title":"Attach or detach a volume","openapi":"openapi.yaml PATCH /v1/orchestrator/drives/{drive_id}","href":"/api-reference/storage/attach"},{"title":"Delete a volume","openapi":"openapi.yaml DELETE /v1/orchestrator/drives/{drive_id}","href":"/api-reference/storage/delete"},{"title":"List volume files","openapi":"openapi.yaml GET /v1/orchestrator/drives/{drive_id}/contents","href":"/api-reference/storage/files/list"},{"title":"Upload a small file","openapi":"openapi.yaml PUT /v1/orchestrator/drives/{drive_id}/files/{file_path}","href":"/api-reference/storage/files/upload"},{"title":"Start a staged upload","openapi":"openapi.yaml POST /v1/orchestrator/drives/{drive_id}/uploads","href":"/api-reference/storage/files/upload-start"},{"title":"Complete a staged upload","openapi":"openapi.yaml POST /v1/orchestrator/drives/{drive_id}/uploads/{upload_id}","href":"/api-reference/storage/files/upload-complete"},{"title":"Cancel a staged upload","openapi":"openapi.yaml DELETE /v1/orchestrator/drives/{drive_id}/uploads/{upload_id}","href":"/api-reference/storage/files/upload-cancel"},{"title":"Download a file","openapi":"openapi.yaml GET /v1/orchestrator/drives/{drive_id}/files/{file_path}","href":"/api-reference/storage/files/download"},{"title":"Download a volume as a ZIP archive","openapi":"openapi.yaml GET /v1/orchestrator/drives/{drive_id}/archive","href":"/api-reference/storage/files/archive"},{"title":"Delete a file","openapi":"openapi.yaml DELETE /v1/orchestrator/drives/{drive_id}/files/{file_path}","href":"/api-reference/storage/files/delete"},{"title":"Delete a folder","openapi":"openapi.yaml DELETE /v1/orchestrator/drives/{drive_id}/folders/{folder_path}","href":"/api-reference/storage/files/delete-folder"},{"title":"Delete all volume files","openapi":"openapi.yaml DELETE /v1/orchestrator/drives/{drive_id}/contents","href":"/api-reference/storage/files/clear"}]},{"group":"GitHub repositories","pages":[{"title":"List GitHub connections","openapi":"openapi.yaml GET /v1/orchestrator/github/connections","href":"/api-reference/storage/github/connections"},{"title":"List GitHub repositories","openapi":"openapi.yaml GET /v1/orchestrator/github/connections/{connection_id}/repositories","href":"/api-reference/storage/github/repositories"},{"title":"List repository branches","openapi":"openapi.yaml GET /v1/orchestrator/github/connections/{connection_id}/repositories/{repository_id}/branches","href":"/api-reference/storage/github/branches"},{"title":"Pull a repository into a volume","openapi":"openapi.yaml POST /v1/orchestrator/drives/{drive_id}/github","href":"/api-reference/storage/github/pull"},{"title":"Sync a repository","openapi":"openapi.yaml POST /v1/orchestrator/drives/{drive_id}/github/{folder}/sync","href":"/api-reference/storage/github/sync"},{"title":"Disconnect a GitHub account","openapi":"openapi.yaml DELETE /v1/orchestrator/github/connections/{connection_id}","href":"/api-reference/storage/github/disconnect"}]},{"group":"Private networks","pages":[{"title":"Private networks and WireGuard","sidebarTitle":"Overview","href":"/api-reference/networks/overview"},{"title":"List private networks","openapi":"openapi.yaml GET /v1/orchestrator/networks","href":"/api-reference/networks/list"},{"title":"Create a private network","openapi":"openapi.yaml POST /v1/orchestrator/networks","href":"/api-reference/networks/create"},{"title":"Get a private network","openapi":"openapi.yaml GET /v1/orchestrator/networks/{network_id}","href":"/api-reference/networks/get"},{"title":"Rename a private network","openapi":"openapi.yaml PATCH /v1/orchestrator/networks/{network_id}","href":"/api-reference/networks/rename"},{"title":"Delete a private network","openapi":"openapi.yaml DELETE /v1/orchestrator/networks/{network_id}","href":"/api-reference/networks/delete"},{"title":"List default-network WireGuard configs","openapi":"openapi.yaml GET /v1/orchestrator/networks/shared/peers","href":"/api-reference/networks/wireguard/default-list"},{"title":"Add a default-network WireGuard config","openapi":"openapi.yaml POST /v1/orchestrator/networks/shared/peers","href":"/api-reference/networks/wireguard/default-create"},{"title":"Remove a default-network WireGuard config","openapi":"openapi.yaml DELETE /v1/orchestrator/networks/shared/peers/{peer_id}","href":"/api-reference/networks/wireguard/default-delete"},{"title":"List network WireGuard configs","openapi":"openapi.yaml GET /v1/orchestrator/networks/{network_id}/peers","href":"/api-reference/networks/wireguard/list"},{"title":"Add a network WireGuard config","openapi":"openapi.yaml POST /v1/orchestrator/networks/{network_id}/peers","href":"/api-reference/networks/wireguard/create"},{"title":"Remove a network WireGuard config","openapi":"openapi.yaml DELETE /v1/orchestrator/networks/{network_id}/peers/{peer_id}","href":"/api-reference/networks/wireguard/delete"}]},{"group":"Monitoring","pages":[{"title":"Read machine metrics and console logs","sidebarTitle":"Overview","href":"/api-reference/monitoring/overview"},{"title":"Get latest node telemetry","openapi":"openapi.yaml GET /v1/observability/nodes/{node_id}/telemetry/latest","href":"/api-reference/monitoring/node-telemetry-latest"},{"title":"Query node telemetry history","openapi":"openapi.yaml GET /v1/observability/nodes/{node_id}/telemetry/query","href":"/api-reference/monitoring/node-telemetry-query"},{"title":"Get latest VM telemetry","openapi":"openapi.yaml GET /v1/observability/virtual-machines/{virtual_machine_id}/telemetry/latest","href":"/api-reference/monitoring/vm-telemetry-latest"},{"title":"Query VM telemetry history","openapi":"openapi.yaml GET /v1/observability/virtual-machines/{virtual_machine_id}/telemetry/query","href":"/api-reference/monitoring/vm-telemetry-query"},{"title":"Get latest telemetry for many machines","openapi":"openapi.yaml POST /v1/observability/nodes/telemetry/latest","href":"/api-reference/monitoring/telemetry-batch"},{"title":"Query node console logs","openapi":"openapi.yaml GET /v1/observability/nodes/{node_id}/logs/{stream}/query","href":"/api-reference/monitoring/node-logs"},{"title":"Query VM console logs","openapi":"openapi.yaml GET /v1/observability/virtual-machines/{virtual_machine_id}/logs/{stream}/query","href":"/api-reference/monitoring/vm-logs"}]},{"group":"Reserve","pages":[{"title":"List capacity listings","openapi":"openapi.yaml GET /commerce/v2/listings","href":"/api-reference/reserve/list-listings"},{"title":"Get a capacity listing","openapi":"openapi.yaml GET /commerce/v2/listings/{listingId}","href":"/api-reference/reserve/get-listing"},{"title":"List a listing's terms","openapi":"openapi.yaml GET /commerce/v2/listings/{listingId}/terms","href":"/api-reference/reserve/list-terms"},{"title":"Post a Reserve offer","openapi":"openapi.yaml POST /v1/markets/offers","href":"/api-reference/reserve/post-offer"},{"title":"List offers","openapi":"openapi.yaml GET /v1/markets/offers","href":"/api-reference/reserve/list-my-offers"},{"title":"Get an offer","openapi":"openapi.yaml GET /v1/markets/offers/{offerId}","href":"/api-reference/reserve/get-offer"},{"title":"Cancel an offer","openapi":"openapi.yaml DELETE /v1/markets/offers/{offerId}","href":"/api-reference/reserve/cancel-offer"},{"title":"Accept an offer on your listing","openapi":"openapi.yaml POST /v1/markets/offers/{offerId}/accept","href":"/api-reference/reserve/accept-offer"}]},{"group":"Market","pages":[{"title":"Get a listing's free capacity","openapi":"openapi.yaml GET /v1/markets/listings/{listingId}/availability","href":"/api-reference/market/availability"},{"title":"Buy Market windows","openapi":"openapi.yaml POST /v1/markets/bookings","href":"/api-reference/market/buy"},{"title":"List your bookings","openapi":"openapi.yaml GET /v1/markets/bookings","href":"/api-reference/market/list-bookings"},{"title":"Cancel a booking","openapi":"openapi.yaml DELETE /v1/markets/bookings/{bookingId}","href":"/api-reference/market/cancel-booking"}]},{"group":"Order books","pages":[{"title":"List order books","openapi":"openapi.yaml GET /v1/markets/books","href":"/api-reference/order-books/list-books"},{"title":"Get order book depth","openapi":"openapi.yaml GET /v1/markets/books/{gpuSlug}","href":"/api-reference/order-books/get-book"},{"title":"List recent trades","openapi":"openapi.yaml GET /v1/markets/books/{gpuSlug}/trades","href":"/api-reference/order-books/list-trades"},{"title":"Quote a bid","openapi":"openapi.yaml GET /v1/markets/books/{gpuSlug}/quote","description":"Previews what a bid placed now would take, aggregated by listing and price in matching order, without placing anything. It takes the Place bid fields as query parameters and refuses them the same way. GPU books sell whole nodes: send nodes with orderType market. On the cpu book, send gpus (vCPUs) or nodes. Each line shows the price you would pay per GPU-hour, the total GPUs taken from that listing at that price, its GPUs per node, location, and next scheduled end. One line can cover several nodes. Your own organization's asks are skipped. The book can move before you bid; the quote is not a reservation of capacity.","href":"/api-reference/order-books/quote"},{"title":"Place a bid","openapi":"openapi.yaml POST /v1/markets/orders","href":"/api-reference/order-books/place-bid"},{"title":"List your orders","openapi":"openapi.yaml GET /v1/markets/orders","description":"Lists your organization's 200 most recent bids (resting, filled and cancelled, each with the IDs of its fills) and the asks your relisted capacity has on the books. Poll this or Get an order to follow a bid.","href":"/api-reference/order-books/list-orders"},{"title":"Get an order","openapi":"openapi.yaml GET /v1/markets/orders/{orderId}","href":"/api-reference/order-books/get-order"},{"title":"Cancel a bid","openapi":"openapi.yaml DELETE /v1/markets/orders/{orderId}","href":"/api-reference/order-books/cancel-order"},{"title":"List your fills","openapi":"openapi.yaml GET /v1/markets/fills","href":"/api-reference/order-books/list-fills"},{"title":"Get a fill","openapi":"openapi.yaml GET /v1/markets/fills/{fillId}","href":"/api-reference/order-books/get-fill"},{"title":"End a fill","openapi":"openapi.yaml DELETE /commerce/reservations/{reservationId}","href":"/api-reference/order-books/end-fill"}]},{"group":"Relist","pages":[{"title":"Relist capacity from a reservation","openapi":"openapi.yaml POST /commerce/reservations/{reservationId}/relist","href":"/api-reference/relist/create"},{"title":"Update your listing","openapi":"openapi.yaml PATCH /commerce/v2/listings/{listingId}","href":"/api-reference/relist/update-listing"},{"title":"Delist your listing","openapi":"openapi.yaml POST /commerce/v2/listings/{listingId}/delist","href":"/api-reference/relist/delist"},{"title":"Add a term to your listing","openapi":"openapi.yaml POST /commerce/v2/listings/{listingId}/terms","href":"/api-reference/relist/add-term"},{"title":"Delete a term from your listing","openapi":"openapi.yaml DELETE /commerce/v2/listings/{listingId}/terms/{listingTermsId}","href":"/api-reference/relist/delete-term"},{"title":"List your listing's nodes","openapi":"openapi.yaml GET /commerce/v2/listings/{listingId}/nodes","href":"/api-reference/relist/list-nodes"}]},{"group":"Billing","pages":[{"title":"List invoices","openapi":"openapi.yaml GET /commerce/invoices","href":"/api-reference/billing/invoices-list"},{"title":"Get an invoice","openapi":"openapi.yaml GET /commerce/invoices/{invoiceId}","href":"/api-reference/billing/invoice-get"},{"title":"List a reservation's invoices","openapi":"openapi.yaml GET /commerce/reservations/{reservationId}/invoices","href":"/api-reference/billing/reservation-invoices"},{"title":"Get billing summary","openapi":"openapi.yaml GET /commerce/billing/summary","href":"/api-reference/billing/summary"},{"title":"Get usage cost","openapi":"openapi.yaml GET /commerce/billing/showback","href":"/api-reference/billing/usage"},{"title":"Get supplied GPU-hours","openapi":"openapi.yaml GET /commerce/reservations/usage","href":"/api-reference/billing/reservation-usage"},{"title":"Get billing contact","openapi":"openapi.yaml GET /commerce/billing/contact","href":"/api-reference/billing/contact"},{"title":"Check for a saved card","openapi":"openapi.yaml GET /commerce/billing/payment-method","href":"/api-reference/billing/payment-method"},{"title":"List account balances","openapi":"openapi.yaml GET /v1/ledger/accounts","href":"/api-reference/billing/credits"},{"title":"List account transactions","openapi":"openapi.yaml GET /v1/ledger/transactions","href":"/api-reference/billing/transactions"}]}]}]},"basePath":"","title":"Place a bid - Ornn","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}