Create a provider

post/v0/city/{cityName}/providers

Request

  • The document declares no server URL.
  • Auth: none declared. Required headers: X-GC-Request

Path parameters

cityNamestring required

City name.

Headers

X-GC-Requeststring required

Anti-CSRF header required on mutation requests. Any non-empty value is accepted; the header's presence is what the server checks.

Idempotency-Keystring

Idempotency key for safe retries.

Request body

acp_argsstring[] nullable

ACP transport command arguments override.

acp_commandstring

ACP transport command binary override.

argsstring[] nullable

Command arguments.

args_appendstring[] nullable

Arguments appended after inherited/base args.

basestring

Optional provider base for inheritance.

commandstring

Provider command binary. Omit for base-only descendants.

display_namestring

Human-readable display name.

envobject

Environment variables.

namestring required

Provider name.

option_defaultsobject

Provider option defaults (e.g. model). Keys are merged on update.

options_schema_mergestring

Options schema merge mode across inheritance chain.

prompt_flagstring

Flag for prompt delivery.

prompt_modestring

Prompt delivery mode.

ready_delay_msinteger

Milliseconds to wait before probing readiness.

Response

Created

providerstring required

Created provider name.

statusstring required

Operation result.

Example response

{
  "status": "created"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.