GET

/v1/schemas/gemini/video/gemini-omni-1.2-flash?kind=output

kind outputactivity videohash b952a8b7…extracted Nov 20, 2026version currentsource upstream spec ↗

Response body

29 properties · 5 required · 97 $defs
propertytypedescriptionconstraints
id*stringRequired. Output only. A unique identifier for the interaction completion.default: ""
status*enumRequired. Output only. The status of the interaction.in_progress | requires_action | completed | failed | cancelled | incomplete · +2 more
created*stringRequired. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
updated*stringRequired. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
steps*Step[]Required. Output only. The steps that make up the interaction, when included in the response.
modelenumThe name of the `Model` used for generating the interaction.gemma-4-26b-a4b-it | gemma-4-31b-it | gemini-flash-latest | gemini-flash-lite-latest | gemini-pro-latest | gemini-2.5-flash · +32 more
generation_configGenerationConfigInput only. Configuration parameters for the model interaction.
system_instructionstringSystem instruction for the interaction.
toolsTool[]A list of tool declarations the model may call during interaction.
inputAudioContent | DocumentContent | ImageCo…The input for the interaction.
usageUsageOutput only. Statistics on the interaction request's token usage.
response_modalitiesResponseModality[]The requested modalities of the response (TEXT, IMAGE, AUDIO).deprecated
response_formatAudioResponseFormat | ImageResponseForma…Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
response_mime_typestringThe mime type of the response. This is required if response_format is set.deprecated
previous_interaction_idstringThe ID of the previous interaction, if any.
environmentobject | stringThe environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
environment_idstringOutput only. The environment ID for the interaction. Only populated if environment config is set in the request.
service_tierenumThe service tier for the interaction.flex | standard | priority
webhook_configWebhookConfigOptional. Webhook configuration for receiving notifications when the interaction completes.
safety_settingsSafetySetting[]Safety settings for the interaction.
labelsobjectThe labels with user-defined metadata for the request.
errorsError[]Output only. Diagnostic faults / platform errors recorded on the interaction.
continuation_tokenstringOpaque token to resume a long decode. Output: set when status is REQUIRES_CONTINUATION and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding.format: byte
streambooleanInput only. Whether the interaction will be streamed.
storebooleanInput only. Whether to store the response and request for later retrieval.
backgroundbooleanInput only. Whether to run the model interaction in the background.
agentenumThe name of the `Agent` used for generating the interaction.deep-research-preview-04-2026 | deep-research-max-preview-04-20… | antigravity-preview-05-2026 | antigravity-preview-09-2026
agent_configobject | object | objectConfiguration parameters for the agent interaction.
max_total_tokensstringMax total tokens for the agent run.format: int64

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"gemini","endpointId":"gemini-omni-1.2-flash","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}