Skip to content
  • Auto
  • Light
  • Dark
Get Started

Get Metadata

Get metadata by website ID
get_metadata() -> idstrllm_providerstrpromptslisttextstrGetMetadataResponse
get/api/beta/metadata

Returns all metadata by website ID

Returns
GetMetadataResponsetype
Hide ParametersShow Parameters
idstr
optional
llm_providerstr
optional
promptslist
optional
Hide ParametersShow Parameters
idstr
optional
languageliteral
optional
Optional[Literal["ENGLISH", "SPANISH", "PORTUGUESE", 9 more]]
Hide ParametersShow Parameters
"ENGLISH"
"SPANISH"
"PORTUGUESE"
"HEBREW"
"GERMAN"
"ITALIAN"
"FRENCH"
"MANDARIN"
"HINDI"
"ARABIC"
"JAPANESE"
"RUSSIAN"
textstr
optional
textstr
optional
from anvil import Anvil

client = Anvil(
    api_key="My API Key",
)
response = client.get_metadata()
print(response)
200 Example
[
  {
    "id": "id",
    "llmProvider": "llmProvider",
    "prompts": [
      {
        "id": "id",
        "language": "ENGLISH",
        "text": "text"
      }
    ],
    "text": "text"
  }
]