AdBlast icon

AdBlast

Interact with AdBlast API

Score → Create Score

AI-generated

Summary

Create a new score in AdBlast using a specified prompt and project ID.

Inputs

  • authenticationMethod (required) — Selects the method for authentication: either predefined credentials or a dynamic API key.
  • url (required) — Base URL for the AdBlast API, used only when dynamic API key authentication is selected.
  • apiKey (required) — The AdBlast API key, to be used dynamically if selected.
  • project_id (required) — The ID of the project where the score is created.
  • prompt (required) — Description prompt for the score.
  • requestOptions — Additional options like batching, SSL, proxy, and timeout settings.

Output shape

no body — success/failure only

If successful, a new score is created in the specified project.

Examples

Example 1: Create a score with a dynamic API key and custom prompt.

Set 'authenticationMethod' to 'dynamic', provide 'url', 'apiKey', 'project_id', and 'prompt'.

Discussion