POST ai/agent

Adds a new agent pricing entry.

Request Information

URI

https://ofd-api.blueprintcpq.net/ai/agent

URI Parameters

None.

Body Parameters

The agent pricing entry to add.

UpdateAgentPricing
NameDescriptionTypeAdditional 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:54.5051116Z",
  "End": "2026-10-02T23:36:54.5051116Z",
  "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:54.5051116Z","End":"2026-10-02T23:36:54.5051116Z","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:54.5051116+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:54.5051116+00:00</Start>
</UpdateAgentPricing>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The newly added agent pricing entry.

AgentPricing
NameDescriptionTypeAdditional 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": "81e33876-e382-4408-b8bc-572d905f8e52",
  "Model": "sample string 2",
  "Provider": "sample string 3",
  "Start": "2026-10-02T23:36:54.5061208Z",
  "End": "2026-10-02T23:36:54.5061208Z",
  "InputPrice": 6.0,
  "OutputPrice": 7.0,
  "InputSellPrice": 8.0,
  "OutputSellPrice": 9.0,
  "Currency": "sample string 10"
}

text/html

Sample:
{"Id":"81e33876-e382-4408-b8bc-572d905f8e52","Model":"sample string 2","Provider":"sample string 3","Start":"2026-10-02T23:36:54.5061208Z","End":"2026-10-02T23:36:54.5061208Z","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:54.5061208+00:00</End>
  <Id>81e33876-e382-4408-b8bc-572d905f8e52</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:54.5061208+00:00</Start>
</AgentPricing>