Firebase AI Logic API

The Firebase AI Logic API provides programmatic access for creating, testing, and managing server prompt templates.

Service: firebasevertexai.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

REST Resource: v1beta.projects.locations.templates

Methods
create POST /v1beta/{parent=projects/*/locations/*}/templates
Creates a new PromptTemplate.
delete DELETE /v1beta/{name=projects/*/locations/*/templates/*}
Deletes a PromptTemplate.
get GET /v1beta/{name=projects/*/locations/*/templates/*}
Gets a PromptTemplate.
list GET /v1beta/{parent=projects/*/locations/*}/templates
Lists PromptTemplates.
modifyLock POST /v1beta/{name=projects/*/locations/*/templates/*}:modifyLock
Updates the Lock state on a PromptTemplate
patch PATCH /v1beta/{promptTemplate.name=projects/*/locations/*/templates/*}
Updates a PromptTemplate.
templateGenerateContent POST /v1beta/{name=projects/*/locations/*/templates/*}:templateGenerateContent
Generate content with multimodal inputs using a server-side prompt template.
templatePredict POST /v1beta/{name=projects/*/locations/*/templates/*}:templatePredict
Perform an online prediction using a server-side prompt template.
templateStreamGenerateContent POST /v1beta/{name=projects/*/locations/*/templates/*}:templateStreamGenerateContent
Generate content with multimodal inputs and streaming outputs using a server-side prompt template.

REST Resource: v1beta.projects.templates

Methods
templateGenerateContent POST /v1beta/{name=projects/*/templates/*}:templateGenerateContent
Generate content with multimodal inputs using a server-side prompt template.
templatePredict POST /v1beta/{name=projects/*/templates/*}:templatePredict
Perform an online prediction using a server-side prompt template
templateStreamGenerateContent POST /v1beta/{name=projects/*/templates/*}:templateStreamGenerateContent
Generate content with multimodal inputs and streaming outputs using a server-side prompt template.