PUT ai/agent/{id}
Updates an existing agent pricing entry.
Request Information
URI
https://ofd-api.blueprintcpq.net/ai/agent/{id}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the agent pricing entry to update. |
globally unique identifier |
Required |
Body Parameters
The updated agent pricing entry.
UpdateAgentPricing| Name | Description | Type | Additional information |
|---|---|---|---|
| Model | string |
None. |
|
| Provider | string |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| InputPrice | decimal number |
None. |
|
| OutputPrice | decimal number |
None. |
|
| InputSellPrice | decimal number |
None. |
|
| OutputSellPrice | decimal number |
None. |
|
| Currency | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Model": "sample string 1",
"Provider": "sample string 2",
"Start": "2026-10-02T23:36:55.0017701Z",
"End": "2026-10-02T23:36:55.0017701Z",
"InputPrice": 5.0,
"OutputPrice": 6.0,
"InputSellPrice": 7.0,
"OutputSellPrice": 8.0,
"Currency": "sample string 9"
}
text/html
Sample:
{"Model":"sample string 1","Provider":"sample string 2","Start":"2026-10-02T23:36:55.0017701Z","End":"2026-10-02T23:36:55.0017701Z","InputPrice":5.0,"OutputPrice":6.0,"InputSellPrice":7.0,"OutputSellPrice":8.0,"Currency":"sample string 9"}
application/xml, text/xml
Sample:
<UpdateAgentPricing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.ConfigurationModels"> <Currency>sample string 9</Currency> <End>2026-10-02T23:36:55.0017701+00:00</End> <InputPrice>5</InputPrice> <InputSellPrice>7</InputSellPrice> <Model>sample string 1</Model> <OutputPrice>6</OutputPrice> <OutputSellPrice>8</OutputSellPrice> <Provider>sample string 2</Provider> <Start>2026-10-02T23:36:55.0017701+00:00</Start> </UpdateAgentPricing>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The updated agent pricing entry.
AgentPricing| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Model | string |
None. |
|
| Provider | string |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| InputPrice | decimal number |
None. |
|
| OutputPrice | decimal number |
None. |
|
| InputSellPrice | decimal number |
None. |
|
| OutputSellPrice | decimal number |
None. |
|
| Currency | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "e0da5e98-16ab-4459-b6ff-43c83bafd84a",
"Model": "sample string 2",
"Provider": "sample string 3",
"Start": "2026-10-02T23:36:55.0017701Z",
"End": "2026-10-02T23:36:55.0017701Z",
"InputPrice": 6.0,
"OutputPrice": 7.0,
"InputSellPrice": 8.0,
"OutputSellPrice": 9.0,
"Currency": "sample string 10"
}
text/html
Sample:
{"Id":"e0da5e98-16ab-4459-b6ff-43c83bafd84a","Model":"sample string 2","Provider":"sample string 3","Start":"2026-10-02T23:36:55.0017701Z","End":"2026-10-02T23:36:55.0017701Z","InputPrice":6.0,"OutputPrice":7.0,"InputSellPrice":8.0,"OutputSellPrice":9.0,"Currency":"sample string 10"}
application/xml, text/xml
Sample:
<AgentPricing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models"> <Currency>sample string 10</Currency> <End>2026-10-02T23:36:55.0017701+00:00</End> <Id>e0da5e98-16ab-4459-b6ff-43c83bafd84a</Id> <InputPrice>6</InputPrice> <InputSellPrice>8</InputSellPrice> <Model>sample string 2</Model> <OutputPrice>7</OutputPrice> <OutputSellPrice>9</OutputSellPrice> <Provider>sample string 3</Provider> <Start>2026-10-02T23:36:55.0017701+00:00</Start> </AgentPricing>