A datatype containing media that is part of a multi-part Content message. A Part consists of data which has an associated datatype. A Part can only contain one of the accepted types in its corresponding field.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Part",
"title": "Part",
"type": "object",
"description": "A datatype containing media that is part of a multi-part Content message. A Part consists of data which has an associated datatype. A Part can only contain one of the accepted types in its corresponding field.",
"properties": {
"text": {
"type": "string",
"description": "Inline text."
},
"inlineData": {
"$ref": "#/components/schemas/Blob"
},
"fileData": {
"$ref": "#/components/schemas/FileData"
},
"functionCall": {
"$ref": "#/components/schemas/FunctionCall"
},
"functionResponse": {
"$ref": "#/components/schemas/FunctionResponse"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.