1/*! For license information please see fa570889.b7420bec.js.LICENSE.txt */ 2"use strict";(self.webpackChunkdevelopers_basistheory_com=self.webpackChunkdevelopers_basistheory_com||[]).push([[6657],{24569:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>j,contentTitle:()=>h,default:()=>p,frontMatter:()=>o,metadata:()=>s,toc:()=>x});const s=JSON.parse('{"id":"api/agentic-commerce/instructions","title":"Instructions <Deprecated />","description":"This API is deprecated and remains available for existing integrations. New integrations should use allowances. No removal date has been announced.","source":"@site/docs/api/agentic-commerce/instructions.mdx","sourceDirName":"api/agentic-commerce","slug":"/api/agentic-commerce/instructions","permalink":"/docs/api/agentic-commerce/instructions","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1790618629000,"frontMatter":{},"sidebar":"api","previous":{"title":"Enrollments <Deprecated />","permalink":"/docs/api/agentic-commerce/enrollments"},"next":{"title":"Credentials <Deprecated />","permalink":"/docs/api/agentic-commerce/credentials"}}');var i=t(74848),r=t(28453),c=t(47363),d=t(85202),l=t(2368),a=t(28342);const o={},h="Instructions ",j={},x=[{value:"Authentication",id:"authentication",level:2},{value:"List Instructions",id:"list-instructions",level:2},{value:"Permissions",id:"permissions",level:4},{value:"Request",id:"request",level:3},{value:"Request Parameters",id:"request-parameters",level:4},{value:"Response",id:"response",level:3},{value:"Create Instruction",id:"create-instruction",level:2},{value:"Permissions",id:"permissions-1",level:4},{value:"Request",id:"request-1",level:3},{value:"Request Parameters",id:"request-parameters-1",level:4},{value:"Amount Object",id:"amount-object",level:4},{value:"Recurring Object",id:"recurring-object",level:4},{value:"Response",id:"response-1",level:3},{value:"Get Instruction",id:"get-instruction",level:2},{value:"Permissions",id:"permissions-2",level:4},{value:"Request",id:"request-2",level:3},{value:"Request Parameters",id:"request-parameters-2",level:4},{value:"Response",id:"response-2",level:3},{value:"Update Instruction",id:"update-instruction",level:2},{value:"Permissions",id:"permissions-3",level:4},{value:"Request",id:"request-3",level:3},{value:"Request Parameters",id:"request-parameters-3",level:4},{value:"Response",id:"response-3",level:3},{value:"Delete Instruction",id:"delete-instruction",level:2},{value:"Permissions",id:"permissions-4",level:4},{value:"Request",id:"request-4",level:3},{value:"Request Parameters",id:"request-parameters-4",level:4},{value:"Response",id:"response-4",level:3},{value:"Verify Instruction",id:"verify-instruction",level:2},{value:"Verification Flow",id:"verification-flow",level:3},{value:"Start Verification",id:"start-verification",level:3},{value:"Permissions",id:"permissions-5",level:4},{value:"Submit Passkey",id:"submit-passkey",level:3},{value:"Permissions",id:"permissions-6",level:4},{value:"Instruction Object",id:"instruction-object",level:2},{value:"Instruction Statuses",id:"instruction-statuses",level:3},{value:"Pagination",id:"pagination",level:2}];function u(e){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsxs)(n.h1,{id:"instructions-",children:["Instructions ",(0,i.jsx)(a.y,{})]})}),"\n",(0,i.jsxs)(d.F,{type:d.W.WARNING,children:["This API is deprecated and remains available for existing integrations. New integrations should use ",(0,i.jsx)(n.a,{href:"/docs/api/agentic-commerce/allowances",children:"allowances"}),". No removal date has been announced."]}),"\n",(0,i.jsx)(n.p,{children:"Instructions define spending rules for a purchase. Each instruction is tied to an enrollment and specifies an amount, description, and expiration. The consumer must verify the instruction before virtual card credentials can be retrieved."}),"\n",(0,i.jsx)(n.h2,{id:"authentication",children:"Authentication"}),"\n",(0,i.jsxs)(n.p,{children:["All requests require a ",(0,i.jsx)(n.code,{children:"BT-API-KEY"})," header with your Basis Theory API key."]}),"\n",(0,i.jsxs)(n.p,{children:["All errors follow the standard ",(0,i.jsx)(n.a,{href:"/docs/api/agentic-commerce/errors",children:"error response format"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"list-instructions",children:"List Instructions"}),"\n",(0,i.jsx)(n.p,{children:"Returns a paginated list of instructions for an agent."}),"\n",(0,i.jsx)(c.y,{method:c.P.GET,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions"}),"\n",(0,i.jsx)(n.h4,{id:"permissions",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:get"}),"\n",(0,i.jsx)(n.h3,{id:"request",children:"Request"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:"curl 'https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions?limit=25' \\\n -H 'BT-API-KEY: <BT_API_KEY>'\n"})}),"\n",(0,i.jsx)(n.h4,{id:"request-parameters",children:"Request Parameters"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"agent_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the agent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"enrollment_id"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"Filter instructions by enrollment ID"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"limit"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"integer"}),(0,i.jsx)(n.td,{children:"Number of results to return (default: 25, max: 100)"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"cursor"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"Opaque pagination cursor from a previous response"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"response",children:"Response"}),"\n",(0,i.jsxs)(n.p,{children:["Returns a paginated list of ",(0,i.jsx)(n.a,{href:"#instruction-object",children:"instruction objects"}),"."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'{\n "data": [\n {\n "id": "ins_luPDv2xm3Yb8RjFJz9oTC",\n "enrollment_id": "enr_wNe75VKdzvojI9iD5fJxr",\n "status": "approved",\n "amount": {\n "value": "500.00",\n "currency": "USD"\n },\n "expires_at": "2030-02-20T00:00:00Z",\n "created_at": "2026-01-15T10:35:00Z"\n }\n ],\n "pagination": {\n "next_cursor": "eyJpZCI6Imluc19sdVBEdjJ4bTNZYjhSakZKejlvVEMifQ",\n "has_more": true\n }\n}\n'})}),"\n",(0,i.jsx)(n.h2,{id:"create-instruction",children:"Create Instruction"}),"\n",(0,i.jsx)(n.p,{children:"Creates a new purchase instruction for an enrollment."}),"\n",(0,i.jsx)(c.y,{method:c.P.POST,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions"}),"\n",(0,i.jsx)(n.h4,{id:"permissions-1",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:create"}),"\n",(0,i.jsx)(n.h3,{id:"request-1",children:"Request"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:'curl -X POST https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions \\\n -H \'BT-API-KEY: <BT_API_KEY>\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "enrollment_id": "enr_wNe75VKdzvojI9iD5fJxr",\n "amount": {\n "value": "500.00",\n "currency": "USD"\n },\n "description": "Purchase electronics",\n "expires_at": "2030-02-20T00:00:00Z"\n }\'\n'})}),"\n",(0,i.jsx)(n.h4,{id:"request-parameters-1",children:"Request Parameters"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"agent_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the agent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"enrollment_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the enrollment to create the instruction for"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"amount"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"object"}),(0,i.jsxs)(n.td,{children:["The ",(0,i.jsx)(n.a,{href:"#amount-object",children:"amount object"})," defining the spending limit"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"description"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsxs)(n.td,{children:["A description of the purchase. Used as the display name shown to the cardholder during passkey verification when ",(0,i.jsx)(n.code,{children:"merchant.name"})," is not provided."]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"expires_at"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"ISO 8601 timestamp for when the instruction expires"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"merchant"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"object"}),(0,i.jsxs)(n.td,{children:["The ",(0,i.jsx)(n.a,{href:"/docs/api/agentic-commerce/credentials#merchant-object",children:"merchant object"})," for this purchase. If provided, it is stored on the instruction and used as the default when ",(0,i.jsx)(n.a,{href:"/docs/api/agentic-commerce/credentials",children:"retrieving credentials"}),". When ",(0,i.jsx)(n.code,{children:"merchant.name"})," is provided, it is displayed to the cardholder during passkey verification instead of ",(0,i.jsx)(n.code,{children:"description"}),"."]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"recurring"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"object"}),(0,i.jsxs)(n.td,{children:["Recurring schedule. See ",(0,i.jsx)(n.a,{href:"#recurring-object",children:"recurring object"})]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"instance_details"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"object"}),(0,i.jsxs)(n.td,{children:["Device information. See ",(0,i.jsx)(n.a,{href:"/docs/api/agentic-commerce/agents#instance-details-object",children:"instance details"})]})]})]})]}),"\n",(0,i.jsx)(n.h4,{id:"amount-object",children:"Amount Object"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"value"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsxs)(n.td,{children:["The monetary amount as a decimal string (e.g., ",(0,i.jsx)(n.code,{children:'"500.00"'}),")"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"currency"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsxs)(n.td,{children:["ISO 4217 currency code (default: ",(0,i.jsx)(n.code,{children:"USD"}),")"]})]})]})]}),"\n",(0,i.jsx)(n.h4,{id:"recurring-object",children:"Recurring Object"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"frequency"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsxs)(n.td,{children:["Recurring frequency: ",(0,i.jsx)(n.code,{children:"weekly"}),", ",(0,i.jsx)(n.code,{children:"monthly"}),", or ",(0,i.jsx)(n.code,{children:"yearly"})]})]})})]}),"\n",(0,i.jsx)(n.h3,{id:"response-1",children:"Response"}),"\n",(0,i.jsxs)(n.p,{children:["Returns an ",(0,i.jsx)(n.a,{href:"#instruction-object",children:"instruction object"})," if successful. The instruction will have ",(0,i.jsx)(n.code,{children:"pending_verification"})," status until the consumer completes verification."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'{\n "id": "ins_luPDv2xm3Yb8RjFJz9oTC",\n "enrollment_id": "enr_wNe75VKdzvojI9iD5fJxr",\n "status": "pending_verification",\n "amount": {\n "value": "500.00",\n "currency": "USD"\n },\n "expires_at": "2030-02-20T00:00:00Z",\n "created_at": "2026-01-15T10:35:00Z"\n}\n'})}),"\n",(0,i.jsx)(n.h2,{id:"get-instruction",children:"Get Instruction"}),"\n",(0,i.jsx)(n.p,{children:"Retrieves an instruction by ID."}),"\n",(0,i.jsx)(c.y,{method:c.P.GET,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions/{instruction_id}"}),"\n",(0,i.jsx)(n.h4,{id:"permissions-2",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:get"}),"\n",(0,i.jsx)(n.h3,{id:"request-2",children:"Request"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:"curl https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions/ins_luPDv2xm3Yb8RjFJz9oTC \\\n -H 'BT-API-KEY: <BT_API_KEY>'\n"})}),"\n",(0,i.jsx)(n.h4,{id:"request-parameters-2",children:"Request Parameters"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"agent_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the agent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"instruction_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the instruction to retrieve"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"response-2",children:"Response"}),"\n",(0,i.jsxs)(n.p,{children:["Returns an ",(0,i.jsx)(n.a,{href:"#instruction-object",children:"instruction object"})," if successful."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'{\n "id": "ins_luPDv2xm3Yb8RjFJz9oTC",\n "enrollment_id": "enr_wNe75VKdzvojI9iD5fJxr",\n "status": "approved",\n "amount": {\n "value": "500.00",\n "currency": "USD"\n },\n "expires_at": "2030-02-20T00:00:00Z",\n "created_at": "2026-01-15T10:35:00Z"\n}\n'})}),"\n",(0,i.jsx)(n.h2,{id:"update-instruction",children:"Update Instruction"}),"\n",(0,i.jsx)(n.p,{children:"Updates an existing instruction."}),"\n",(0,i.jsx)(c.y,{method:c.P.PATCH,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions/{instruction_id}"}),"\n",(0,i.jsx)(n.h4,{id:"permissions-3",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:update"}),"\n",(0,i.jsx)(n.h3,{id:"request-3",children:"Request"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:'curl -X PATCH https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions/ins_luPDv2xm3Yb8RjFJz9oTC \\\n
2 -H \'BT-API-KEY: <BT_API_KEY>\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "amount": {\n "value": "750.00",\n "currency": "USD"\n },\n "expires_at": "2030-03-20T00:00:00Z"\n }\'\n'})}),"\n",(0,i.jsx)(n.h4,{id:"request-parameters-3",children:"Request Parameters"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"agent_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the agent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"instruction_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the instruction to update"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"amount"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"object"}),(0,i.jsxs)(n.td,{children:["Updated ",(0,i.jsx)(n.a,{href:"#amount-object",children:"amount object"})]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"expires_at"})}),(0,i.jsx)(n.td,{children:"No"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"Updated ISO 8601 expiration timestamp"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"response-3",children:"Response"}),"\n",(0,i.jsxs)(n.p,{children:["Returns the updated ",(0,i.jsx)(n.a,{href:"#instruction-object",children:"instruction object"})," if successful."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'{\n "id": "ins_luPDv2xm3Yb8RjFJz9oTC",\n "enrollment_id": "enr_wNe75VKdzvojI9iD5fJxr",\n "status": "approved",\n "amount": {\n "value": "750.00",\n "currency": "USD"\n },\n "expires_at": "2030-03-20T00:00:00Z",\n "created_at": "2026-01-15T10:35:00Z"\n}\n'})}),"\n",(0,i.jsx)(n.h2,{id:"delete-instruction",children:"Delete Instruction"}),"\n",(0,i.jsx)(n.p,{children:"Deletes an instruction."}),"\n",(0,i.jsx)(c.y,{method:c.P.DELETE,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions/{instruction_id}"}),"\n",(0,i.jsx)(n.h4,{id:"permissions-4",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:delete"}),"\n",(0,i.jsx)(n.h3,{id:"request-4",children:"Request"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:"curl -X DELETE https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions/ins_luPDv2xm3Yb8RjFJz9oTC \\\n -H 'BT-API-KEY: <BT_API_KEY>'\n"})}),"\n",(0,i.jsx)(n.h4,{id:"request-parameters-4",children:"Request Parameters"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Required"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"agent_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the agent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"instruction_id"})}),(0,i.jsx)(n.td,{children:"Yes"}),(0,i.jsx)(n.td,{children:"string"}),(0,i.jsx)(n.td,{children:"The ID of the instruction to delete"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"response-4",children:"Response"}),"\n",(0,i.jsxs)(n.p,{children:["Returns a ",(0,i.jsx)(n.code,{children:"204 No Content"})," response if successful."]}),"\n",(0,i.jsxs)(n.p,{children:["Errors: ",(0,i.jsx)(n.code,{children:"404 INSTRUCTION_NOT_FOUND"}),", ",(0,i.jsx)(n.code,{children:"500 PROVIDER_INSTRUCTION_CANCEL_FAILED"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"verify-instruction",children:"Verify Instruction"}),"\n",(0,i.jsxs)(n.p,{children:["Instruction verification is a multi-step flow that requires the consumer to authenticate via passkey. The ",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/@basis-theory/react-agentic",children:(0,i.jsx)(n.code,{children:"@basis-theory/react-agentic"})})," SDK handles this flow automatically via the ",(0,i.jsx)(n.code,{children:"verifyInstruction()"})," method. The individual endpoints are documented below for reference."]}),"\n",(0,i.jsxs)(d.F,{type:d.W.INFO,children:["For an existing integration, use the ",(0,i.jsx)(n.code,{children:"verifyInstruction()"})," method from the ",(0,i.jsx)(n.code,{children:"@basis-theory/react-agentic"})," SDK's ",(0,i.jsx)(n.code,{children:"useAgentic"})," hook. It handles the passkey authentication UI. See the ",(0,i.jsx)(n.a,{href:"/docs/guides/agentic/legacy",children:"deprecated
2integration guide"})," for usage examples."]}),"\n",(0,i.jsx)(n.h3,{id:"verification-flow",children:"Verification Flow"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Start verification"})," \u2014 ",(0,i.jsx)(n.code,{children:"POST /agents/:id/instructions/:id/verify"})," \u2014 initiates passkey challenge."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Submit passkey"})," \u2014 ",(0,i.jsx)(n.code,{children:"POST /agents/:id/instructions/:id/verify/passkey"})," \u2014 submits the passkey assertion."]}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"start-verification",children:"Start Verification"}),"\n",(0,i.jsx)(n.p,{children:"Initiates the instruction verification flow."}),"\n",(0,i.jsx)(c.y,{method:c.P.POST,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions/{instruction_id}/verify"}),"\n",(0,i.jsx)(n.h4,{id:"permissions-5",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:verify"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:'curl -X POST https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions/ins_luPDv2xm3Yb8RjFJz9oTC/verify \\\n -H \'BT-API-KEY: <BT_API_KEY>\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "device_context": {\n "screen_height": 1080,\n "screen_width": 1920,\n "user_agent_string": "Mozilla/5.0 ...",\n "language_code": "en-US",\n "time_zone": "America/New_York",\n "java_script_enabled": true,\n "client_device_id": "a1b2c3d4e5f6a1b2c3d4e5f6",\n "client_reference_id": "550e8400-e29b-41d4-a716-446655440000",\n "platform_type": "WEB"\n }\n }\'\n'})}),"\n",(0,i.jsxs)(n.p,{children:["The device context object uses the same schema as ",(0,i.jsx)(n.a,{href:"/docs/api/agentic-commerce/enrollments#device-context-object",children:"enrollment verification"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Returns either ",(0,i.jsx)(n.code,{children:'{ "status": "verified" }'})," if passkeys are bypassed, or a challenge response for passkey authentication."]}),"\n",(0,i.jsx)(n.h3,{id:"submit-passkey",children:"Submit Passkey"}),"\n",(0,i.jsx)(n.p,{children:"Submits the passkey/FIDO assertion to complete instruction verification."}),"\n",(0,i.jsx)(c.y,{method:c.P.POST,endpoint:"https://api.basistheory.com/agentic/agents/{agent_id}/instructions/{instruction_id}/verify/passkey"}),"\n",(0,i.jsx)(n.h4,{id:"permissions-6",children:"Permissions"}),"\n",(0,i.jsx)(l.a,{content:"agent:instruction:verify"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-shell",metastring:"showLineNumbers",children:'curl -X POST https://api.basistheory.com/agentic/agents/agt_fukICjsY2xzRCECiTCbKM/instructions/ins_luPDv2xm3Yb8RjFJz9oTC/verify/passkey \\\n -H \'BT-API-KEY: <BT_API_KEY>\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "assurance_data": {\n "identifier": "<IDENTIFIER>",\n "dfp_session_id": "<DFP_SESSION_ID>",\n "fido_assertion_data": { "code": "<FIDO_ASSERTION_CODE>" }\n }\n }\'\n'})}),"\n",(0,i.jsxs)(n.p,{children:["After successful verification, the instruction status changes from ",(0,i.jsx)(n.code,{children:"pending_verification"})," to ",(0,i.jsx)(n.code,{children:"approved"}),". May return a ",(0,i.jsx)(n.code,{children:"PASSKEY_FAILED"})," error if the assertion is invalid."]}),"\n",(0,i.jsx)(n.h2,{id:"instruction-object",children:"Instruction Object"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"id"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsx)(n.td,{children:"Unique identifier of the instruction"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"enrollment_id"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsx)(n.td,{children:"The ID of the enrollment this instruction belongs to"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"status"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsxs)(n.td,{children:["The instruction status: ",(0,i.jsx)(n.code,{children:"pending"}),", ",(0,i.jsx)(n.code,{children:"pending_verification"}),", ",(0,i.jsx)(n.code,{children:"approved"}),", or ",(0,i.jsx)(n.code,{children:"cancelled"})]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"type"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsxs)(n.td,{children:["The instruction type, such as ",(0,i.jsx)(n.code,{children:"agentic"})]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"credential_type"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsxs)(n.td,{children:["The credential this instruction issues, such as ",(0,i.jsx)(n.code,{children:"card"})]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"amount"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"object"})}),(0,i.jsxs)(n.td,{children:["The spending limit. See ",(0,i.jsx)(n.a,{href:"#amount-object",children:"amount object"})]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"expires_at"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsx)(n.td,{children:"ISO 8601 timestamp for when the instruction expires"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"created_at"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsx)(n.td,{children:"ISO 8601 timestamp of when the instruction was created"})]})]})]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"description"})," and ",(0,i.jsx)(n.code,{children:"recurring"})," are accepted on create and stored, but they are not returned on any instruction response."]}),"\n",(0,i.jsx)(n.h3,{id:"instruction-statuses",children:"Instruction Statuses"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Status"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"pending"})}),(0,i.jsx)(n.td,{children:"Awaiting provider approval"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"pending_verification"})}),(0,i.jsx)(n.td,{children:"Provider approved; awaiting consumer verification via passkey"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"approved"})}),(0,i.jsx)(n.td,{children:"Consumer verified; virtual card credentials can be retrieved"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"cancelled"})}),(0,i.jsx)(n.td,{children:"Cancelled by the card network, for example when the underlying token is suspended"})]})]})]}),"\n",(0,i.jsxs)(n.p,{children:["Expiry is evaluated per request rather than stored: an instruction past its ",(0,i.jsx)(n.code,{children:"expires_at"})," still reports ",(0,i.jsx)(n.code,{children:"approved"}),", and credential retrieval against it returns ",(0,i.jsx)(n.code,{children:"400 INSTRUCTION_EXPIRED"}),". A provider failure raises ",(0,i.jsx)(n.code,{children:"PROVIDER_INSTRUCTION_FAILED"})," at create time rather than persisting a status."]}),"\n",(0,i.jsxs)(d.F,{type:d.W.INFO,children:["Credentials can only be retrieved for instructions with ",(0,i.jsx)(n.code,{children:"approved"})," status."]}),"\n",(0,i.jsx)(n.h2,{id:"pagination",children:"Pagination"}),"\n",(0,i.jsx)(n.p,{children:"List endpoints use cursor-based pagination."}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Attribute"}),(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"pagination.next_cursor"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"string"})}),(0,i.jsx)(n.td,{children:"Opaque cursor for the next page (absent when no more results)"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"pagination.has_more"})}),(0,i.jsx)(n.td,{children:(0,i.jsx)(n.em,{children:"boolean"})}),(0,i.jsx)(n.td,{children:"Whether there are more results beyond this page"})]})]})]}),"\n",(0,i.jsxs)(n.p,{children:["Pass ",(0,i.jsx)(n.code,{children:"next_cursor"})," as the ",(0,i.jsx)(n.code,{children:"cursor"})," query parameter to retrieve the next page."]})]})}function p(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},21020:(e,n,t)=>{var s=t(96540),i=Symbol.for("react.element"),r=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,d=s.__SECRET_INT
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,t){var s,r={},a=null,o=null;for(s in void 0!==t&&(a=""+t),void 0!==n.key&&(a=""+n.key),void 0!==n.ref&&(o=n.ref),n)c.call(n,s)&&!l.hasOwnProperty(s)&&(r[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===r[s]&&(r[s]=n[s]);return{$$typeof:i,type:e,key:a,ref:o,props:r,_owner:d.current}}n.Fragment=r,n.jsx=a,n.jsxs=a},74848:(e,n,t)=>{e.exports=t(21020)},85202:(e,n,t)=>{t.d(n,{F:()=>N,W:()=>w});var s=t(34164),i=t(96540);const r="container_ygYU",c="title_KE4f",d="content_mpoX",l="error_YPD5",a="warning_Vv3u",o="info_XpSc",h="success_pFpA",j="neutral_bgLU",x="svg_xN_H";var u;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},p.apply(null,arguments)}const m=e=>{let{title:n,titleId:t,...s}=e;return i.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 18 18","aria-labelledby":t},s),n?i.createElement("title",{id:t},n):null,u||(u=i.createElement("path",{fill:"#F56C9D",fillRule:"evenodd",d:"M9 1.438A7.557 7.557 0 0 0 1.438 9 7.557 7.557 0 0 0 9 16.563 7.56 7.56 0 0 0 16.563 9 7.56 7.56 0 0 0 9 1.438M.063 9A8.93 8.93 0 0 1 9 .063 8.937 8.937 0 0 1 17.938 9 8.937 8.937 0 0 1 9 17.938 8.93 8.93 0 0 1 .063 9M9 4.188c.38 0 .688.307.688.687v4.583a.687.687 0 1 1-1.376 0V4.875c0-.38.308-.687.688-.687m-.006 7.791H9q.034 0 .067.003c.444.038.85.4.85.914 0 .27-.122.496-.272.645a.92.92 0 0 1-.645.271.92.92 0 0 1-.917-.916.914.914 0 0 1 .908-.917z",clipRule:"evenodd"})))};var v,g;function f(){return f=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},f.apply(null,arguments)}const b=e=>{let{title:n,titleId:t,...s}=e;return i.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:20,height:18,fill:"none",viewBox:"0 0 20 18","aria-labelledby":t},s),n?i.createElement("title",{id:t},n):null,v||(v=i.createElement("path",{fill:"#FFA726",fillRule:"evenodd",d:"M7.656 1.614c1.04-1.809 3.649-1.809 4.689 0l7.055 12.27c1.037 1.803-.264 4.053-2.344 4.053H2.945c-2.08 0-3.381-2.25-2.345-4.052zm3.497.685a1.33 1.33 0 0 0-2.305 0L1.792 14.57a1.33 1.33 0 0 0 1.153 1.992h14.111a1.33 1.33 0 0 0 1.152-1.992z",clipRule:"evenodd"})),g||(g=i.createElement("path",{fill:"#FFA726",fillRule:"evenodd",d:"M10.001 5.883c.38 0 .688.308.688.688v3.428a.687.687 0 1 1-1.376 0V6.571c0-.38.308-.688.688-.688m-.006 6.183H10q.034 0 .068.003c.443.038.849.4.849.914 0 .27-.122.496-.271.645A.92.92 0 0 1 10 13.9a.92.92 0 0 1-.917-.916.914.914 0 0 1 .908-.917z",clipRule:"evenodd"})))};var y,_;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},T.apply(null,arguments)}const E=e=>{let{title:n,titleId:t,...s}=e;return i.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 18 18","aria-labelledby":t},s),n?i.createElement("title",{id:t},n):null,y||(y=i.createElement("path",{fill:"#00B68A",fillRule:"evenodd",d:"M5.58.743a8.937 8.937 0 1 1 6.84 16.514A8.937 8.937 0 0 1 5.58.743M9 1.438a7.562 7.562 0 1 0 0 15.124A7.562 7.562 0 0 0 9 1.437",clipRule:"evenodd"})),_||(_=i.createElement("path",{fill:"#00B68A",fillRule:"evenodd",d:"M12.664 6.31c.268.268.269.703 0 .972l-4.34 4.35a.69.69 0 0 1-1.087.151l-.018-.018L5.25 9.797a.688.688 0 1 1 .972-.972l1.481 1.481 3.987-3.995a.69.69 0 0 1 .973-.001",clipRule:"evenodd"})))};var I,R;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var s in t)({}).hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},P.apply(null,arguments)}const C=e=>{let{title:n,titleId:t,...s}=e;return i.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 18 18","aria-labelledby":t},s),n?i.createElement("title",{id:t},n):null,I||(I=i.createElement("path",{fill:"#29B6F6",fillRule:"evenodd",d:"M9.45 4.966a.69.69 0 0 0-.587-.33.914.914 0 0 0-.917.917.92.92 0 0 0 .917.917c.27 0 .495-.122.645-.271a.92.92 0 0 0 .271-.646.69.69 0 0 0-.33-.587M7.396 12.208c0-.38.308-.687.687-.687h2.118a.687.687 0 1 1 0 1.375H8.083a.69.69 0 0 1-.687-.688",clipRule:"evenodd"})),R||(R=i.createElement("path",{fill:"#29B6F6",fillRule:"evenodd",d:"M5.58.743a8.937 8.937 0 1 1 6.84 16.514A8.937 8.937 0 0 1 5.58.743M9 1.438a7.562 7.562 0 1 0 0 15.124A7.562 7.562 0 0 0 9 1.437m-.495 4.479a.687.687 0 0 0 1.265-.373.91.91 0 0 0-.97-.905.687.687 0 0 0-.295 1.278m-1.1 2.396c0-.38.307-.688.687-.688h1.054c.38 0 .687.308.687.688v3.895a.687.687 0 1 1-1.375 0V9h-.366a.69.69 0 0 1-.688-.687",clipRule:"evenodd"})))};var w=function(e){return e.ERROR="error",e.WARNING="warning",e.INFO="info",e.SUCCESS="success",e.NEUTRAL="neutral",e}({});const N=({type:e="info",title:n,content:t,children:u})=>{const p=(0,s.A)({[l]:"error"==e,[a]:"warning"==e,[o]:"info"==e,[h]:"success"==e,[j]:"neutral"==e}),v={error:m,warning:b,info:C,success:E}[e];return i.createElement("div",{className:(0,s.A)([r,p,"alert"])},v&&i.createElement("div",null,i.createElement(v,{className:x})),i.createElement("div",null,n&&i.createElement("div",{className:c},n),i.createElement("div",{className:d},null!=t?t:u)))}},28342:(e,n,t)=>{t.d(n,{y:()=>c});var s=t(96540);const i="deprecated_W5qU";var r=t(78534);const c=()=>s.createElement(r.a,{className:i},"DEPRECATED")},47363:(e,n,t)=>{t.d(n,{y:()=>u,P:()=>x});var s=t(34164),i=t(96540);const r="container_do9A",c="get_oO0z",d="post_VGoy",l="put_yXVr",a="patch_mtMM",o="delete_tJlc",h="copy_R9HH";var j=t(78534);var x=function(e){return e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e.GET="GET",e.PATCH="PATCH",e}({});const u=({method:e,endpoint:n})=>{const[t,x]=(0,i.useState)(!1),u=(0,s.A)({[d]:"POST"==e,[l]:"PUT"==e,[o]:"DELETE"==e,[c]:"GET"==e,[a]:"PATCH"==e});(0,i.useEffect)((()=>{t&&setTimeout((()=>{x(!1)}),1e3)}),[t]);return i.createElement("div",{className:(0,s.A)(r)},i.createElement(j.a,{className:u},e)," ",n,i.createElement("div",{className:h,onClick:e=>{x(!0),(async e=>{"clipboard"in navigator?await navigator.clipboard.writeText(e):document.execCommand("copy",!0,e)})(n)}},t?i.createElement("svg",{width:"24",height:"18",viewBox:"0 0 18 18",fill:"#00d600"},i.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})):i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("title",null,"Copy"),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16488 3.31632C3.9398 3.31632 3.72395 3.40573 3.56479 3.56489C3.40564 3.72404 3.31623 3.9399 3.31623 4.16497V11.0726C3.31623 11.2976 3.40564 11.5135 3.56479 11.6726C3.72395 11.8318 3.9398 11.9212 4.16488 11.9212H5.01353V6.92801C5.01353 5.87072 5.87063 5.01362 6.92792 5.01362H11.9211V4.16497C11.9211 3.9399 11.8317 3.72404 11.6726 3.56489C11.5134 3.40573 11.2975 3.31632 11.0725 3.31632H4.16488ZM12.9869 5.01362V4.16497C12.9869 3.65724 12.7852 3.17031 12.4262 2.81129C12.0671 2.45227 11.5802 2.25058 11.0725 2.25058H4.16488C3.65715 2.25058 3.17022 2.45227 2.8112 2.81129C2.45218 3.17031 2.25049 3.65724 2.25049 4.16497V11.0726C2.25049 11.5803 2.45218 12.0672 2.8112 12.4262C3.17022 12.7853 3.65715 12.987 4.16488 12.987H5.01353V13.8356C5.01353 14.8929 5.87063 15.75 6.92792 15.75H13.8355C14.8928 15.75 15.7499 14.8929 15.7499 13.8356V6.92801C15.7499 5.87072 14.8928 5.01362 13.8355 5.01362H12.9869ZM12.4533 6.07936C12.4535 6.07936 12.4538 6.07936 12.454 6.07936C12.4542 6.07936 12.4544 6.07936 12.4547 6.07936H13.8355C14.3042 6.07936 14.6842 6.45931 14.6842 6.92801V13.8356C14.6842 14.3043 14.3042 14.6842 13.8355 14.6842H6.92792C6.45922 14.6842 6.07927 14.3043 6.07927 13.8356V12.4548C6.07927 12.4545 6.07927 12.4543 6.07927 12.4541C6.07927 12.4539 6.07927 12.4536 6.07927 12.4534V6.92801C6.07927 6.45931 6.45922 6.07936 6.92792 6.07936H12.4533Z",fill:"currentColor"}))))}},2368:(e,n,t)=>{t.d(n,{a:()=>d});var s=t(34164),i=t(96540);const r="primary_vpwI",c="secondary_eVSP",d=({content:e,variant:n="secondary",children:t})=>{const d=(0,s.A)({[r]:"primary"==n,[c]:"secondary"==n}
2);return i.createElement("code",{className:d},null!=e?e:t)}},78534:(e,n,t)=>{t.d(n,{a:()=>d});var s=t(96540);const i="pill_KJZw",r="pill-container_xPdd";var c=t(34164);const d=({children:e,className:n,title:t})=>s.createElement("div",{className:(0,c.A)(r)},s.createElement("span",{className:(0,c.A)(i,n),title:t},e))},28453:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>d});var s=t(96540);const i={},r=s.createContext(i);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.