Gameball AI API

The Ai API from Gameball — 21 operation(s) for ai.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 21

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/Ai/recent-campaigns List recent AI-generated campaigns · Get api ai recent campaigns #
Ask an LLM
“What campaigns has the AI generated recently?”
“Can I see the last few AI campaigns in a language other than English?”
Tell an agent
List my recent AI campaigns.
Show the last {count} AI-generated campaigns in language {lang}.
GET /api/v1/Ai/credits/check Check credits before an AI action · Check if the client has enough credits for an AI action (pre-flight check). #
Ask an LLM
“Do I have enough AI credits for a given action?”
“Can I check credits for a specific action type first?”
Tell an agent
Check whether I have enough AI credits for action {actionType}.
Run a pre-flight credit check.
POST /api/v1/Ai/ask Ask the AI a question · Create api ai ask #
Ask an LLM
“Can I ask the AI to explain a loyalty insight?”
“What does the AI suggest for a question I have?”
Tell an agent
Ask the AI: {question}.
Get an AI answer to my question.
GET /api/v1/Ai/tiers/insights Get AI insights on tier performance · Analyzes tier performance data and generates AI-powered insights for loyalty… #
Ask an LLM
“How is each loyalty tier performing according to the AI?”
“Can I refresh the tier insights to bypass the cache?”
Tell an agent
Get AI insights on tier performance.
Refresh tier insights with refresh {refresh}.
GET /api/v1/Ai/store-insights Get AI insights for the store · Get api ai store insights #
Ask an LLM
“What does the AI say about my store's performance?”
“Can I get AI store insights in another language?”
Tell an agent
Get AI store insights.
Show the AI store performance report in language {lang}.
POST /api/v1/Ai/opportunities/generate Generate AI opportunities for the store · Create api ai opportunities generate #
Ask an LLM
“Can the AI generate new business opportunities for my store?”
“How do I kick off a fresh AI opportunity generation run?”
Tell an agent
Generate AI opportunities for the store.
Start a new AI opportunity generation job.
POST /api/v1/Ai/opportunities/generate-from-mutation Generate opportunities from a store mutation · Create api ai opportunities generate from mutation #
Ask an LLM
“Can the AI generate opportunities based on a recent store change?”
“What happens when I give the AI a mutation ID to generate from?”
Tell an agent
Generate AI opportunities from mutation {mutationId}.
Create new opportunities based on the store change I just made.
GET /api/v1/Ai/opportunities/{jobId}/insights Get insights for an AI opportunity job · Get api ai opportunities by job id insights #
Ask an LLM
“What insights did the AI produce for a particular opportunity job?”
“Can I see the insights behind one AI opportunity job?”
Tell an agent
Get the insights for AI opportunity job {jobId}.
Show what the AI learned from opportunity job {jobId}.
GET /api/v1/Ai/opportunities/{jobId}/tactics Get tactics for an AI opportunity job · Get api ai opportunities by job id tactics #
Ask an LLM
“What tactics did the AI suggest for a specific opportunity job?”
“Can I list the tactics behind one AI opportunity job?”
Tell an agent
Get the tactics for AI opportunity job {jobId}.
Show the suggested tactics from opportunity job {jobId}.
GET /api/v1/Ai/opportunities List AI opportunities · Get api ai opportunities #
Ask an LLM
“Which AI-generated opportunities exist for my store?”
“Can I filter AI opportunities by the job that created them?”
Tell an agent
List my AI opportunities.
Show AI opportunities from job {jobId}.
GET /api/v1/Ai/opportunities/tactics Get AI-generated engagement tactics · Get api ai opportunities tactics #
Ask an LLM
“Which AI-generated engagement tactics can I use for a given job?”
“Can I get tactics in another language?”
Tell an agent
Get the AI engagement tactics for job {jobId}.
List AI tactics for job {jobId} in language {lang}.
POST /api/v1/Ai/tactics/{tacticId}/execute Execute an AI tactic · Executes selected opportunity tactics by creating segments and campaigns from… #
Ask an LLM
“Can the AI create segments and campaigns from one tactic?”
“How do I run a single AI tactic?”
Tell an agent
Execute AI tactic {tacticId}.
Run tactic {tacticId} to create campaigns.
POST /api/v1/Ai/opportunities/{opportunityId}/generate Generate tactics for an existing opportunity · Triggers generation of new tactics for a specific existing opportunity #
Ask an LLM
“Can I generate new tactics for an opportunity I already have?”
“What does the AI suggest for an existing opportunity?”
Tell an agent
Generate new tactics for opportunity {opportunityId}.
Add more tactics to existing opportunity {opportunityId}.
POST /api/v1/Ai/opportunities/{opportunityId}/feedback Rate an AI opportunity · Create api ai opportunities by opportunity id feedback #
Ask an LLM
“Can I tell the AI whether an opportunity was good or bad?”
“How do I give feedback on an AI opportunity?”
Tell an agent
Rate opportunity {opportunityId} as {status}.
Tell the AI why opportunity {opportunityId} was {status} with reason {reason}.
POST /api/v1/Ai/tactics/{tacticId}/feedback Rate an AI tactic · Create api ai tactics by tactic id feedback #
Ask an LLM
“Can I give feedback on a tactic the AI suggested?”
“Is there a way to mark an AI tactic as good or bad?”
Tell an agent
Rate tactic {tacticId} as {status}.
Mark tactic {tacticId} as {status} because {reason}.
POST /api/v1/Ai/game-design Generate game design with the AI · Create api ai game design #
Ask an LLM
“Can the AI generate a game design from a prompt?”
“Is there a way to remove the background from a generated game design?”
Tell an agent
Generate a game design with the AI.
Create a game design with background removal set to {bgRemoval}.
POST /api/v1/Ai/image-generation Generate an image with the AI · Create api ai image generation #
Ask an LLM
“Can the AI generate an image from a prompt?”
“Is there a way to stream a generated image back?”
Tell an agent
Generate an image with the AI.
Create an image with background removal {bgRemoval} and stream set to {stream}.
POST /api/v1/Ai/suggest-reward Get AI suggestions for a reward · Create api ai suggest reward #
Ask an LLM
“What reward should I offer a player according to the AI?”
“Can the AI suggest a reward for a loyalty action?”
Tell an agent
Suggest a reward with the AI.
Get an AI reward suggestion for a player action.
POST /api/v1/Ai/campaign-roi Get AI estimates of campaign ROI · Create api ai campaign roi #
Ask an LLM
“What return on investment does the AI predict for a campaign?”
“Can the AI estimate ROI before I launch a campaign?”
Tell an agent
Estimate the ROI of a campaign with the AI.
Get an AI campaign ROI forecast.
POST /api/v1/Ai/audit Audit an AI opportunity or tactic · On-demand audit endpoint. #
Ask an LLM
“Can I audit an AI opportunity or tactic on demand?”
“How do I run an audit on a specific AI-generated item?”
Tell an agent
Audit AI opportunity {opportunityId}.
Audit AI tactic {tacticId} on demand.
POST /api/v1/Ai/brand-colors Generate brand colors from a website · Create api ai brand colors #
Ask an LLM
“Can I get a brand color palette generated from a website URL?”
“What does the AI brand colors endpoint need to work?”
Tell an agent
Generate brand colors from {url}.
Create an AI brand color palette for {url}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gameball:gameball-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gameball-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gameball AI API
tags:
- name: AI
paths:
  /api/v1/Ai/recent-campaigns:
    get:
      tags:
      - AI
      parameters:
      - name: isAI
        in: query
        schema:
          type: boolean
          default: true
      - name: count
        in: query
        schema:
          type: integer
          format: int32
          default: 3
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Collections.Generic.List_1_GameBall.BLL.ViewModels.AIInsights.AiCreatedChallengeSummaryViewModel'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Collections.Generic.List_1_GameBall.BLL.ViewModels.AIInsights.AiCreatedChallengeSummaryViewModel'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Collections.Generic.List_1_GameBall.BLL.ViewModels.AIInsights.AiCreatedChallengeSummaryViewModel'
      summary: Get api ai recent campaigns
      x-summary-source: derived
      operationId: getApiV1AiRecentCampaigns
      x-operation-id-source: derived
  /api/v1/Ai/credits/check:
    get:
      tags:
      - AI
      summary: Check if the client has enough credits for an AI action (pre-flight check).
      parameters:
      - name: actionType
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getApiV1AiCreditsCheck
      x-operation-id-source: derived
  /api/v1/Ai/ask:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.AskQuestionAboutDataRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.AskQuestionAboutDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.AskQuestionAboutDataRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String'
      summary: Create api ai ask
      x-summary-source: derived
      operationId: postApiV1AiAsk
      x-operation-id-source: derived
  /api/v1/Ai/tiers/insights:
    get:
      tags:
      - AI
      summary: Analyzes tier performance data and generates AI-powered insights for loyalty…
      parameters:
      - name: refresh
        in: query
        description: Optional parameter to force refresh and bypass cache
        schema:
          type: boolean
          default: false
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getApiV1AiTiersInsights
      x-operation-id-source: derived
  /api/v1/Ai/store-insights:
    get:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api ai store insights
      x-summary-source: derived
      operationId: getApiV1AiStoreInsights
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/generate:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Create api ai opportunities generate
      x-summary-source: derived
      operationId: postApiV1AiOpportunitiesGenerate
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/generate-from-mutation:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.MutationTacticGenerationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.MutationTacticGenerationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.MutationTacticGenerationRequest'
      responses:
        '200':
          description: OK
      summary: Create api ai opportunities generate from mutation
      x-summary-source: derived
      operationId: postApiV1AiOpportunitiesGenerateFromMutation
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/{jobId}/insights:
    get:
      tags:
      - AI
      parameters:
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api ai opportunities by job id insights
      x-summary-source: derived
      operationId: getApiV1AiOpportunitiesByJobIdInsights
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/{jobId}/tactics:
    get:
      tags:
      - AI
      parameters:
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api ai opportunities by job id tactics
      x-summary-source: derived
      operationId: getApiV1AiOpportunitiesByJobIdTactics
      x-operation-id-source: derived
  /api/v1/Ai/opportunities:
    get:
      tags:
      - AI
      parameters:
      - name: jobId
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api ai opportunities
      x-summary-source: derived
      operationId: getApiV1AiOpportunities
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/tactics:
    get:
      tags:
      - AI
      parameters:
      - name: jobId
        in: query
        schema:
          type: string
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get api ai opportunities tactics
      x-summary-source: derived
      operationId: getApiV1AiOpportunitiesTactics
      x-operation-id-source: derived
  /api/v1/Ai/tactics/{tacticId}/execute:
    post:
      tags:
      - AI
      summary: Executes selected opportunity tactics by creating segments and campaigns from…
      parameters:
      - name: tacticId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: postApiV1AiTacticsByTacticIdExecute
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/{opportunityId}/generate:
    post:
      tags:
      - AI
      summary: Triggers generation of new tactics for a specific existing opportunity
      parameters:
      - name: opportunityId
        in: path
        description: The opportunity ID to generate tactics for
        required: true
        schema:
          type: integer
          format: int32
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: postApiV1AiOpportunitiesByOpportunityIdGenerate
      x-operation-id-source: derived
  /api/v1/Ai/opportunities/{opportunityId}/feedback:
    post:
      tags:
      - AI
      parameters:
      - name: opportunityId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean'
      summary: Create api ai opportunities by opportunity id feedback
      x-summary-source: derived
      operationId: postApiV1AiOpportunitiesByOpportunityIdFeedback
      x-operation-id-source: derived
  /api/v1/Ai/tactics/{tacticId}/feedback:
    post:
      tags:
      - AI
      parameters:
      - name: tacticId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean'
            application/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean'
            text/json:
              schema:
                $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean'
      summary: Create api ai tactics by tactic id feedback
      x-summary-source: derived
      operationId: postApiV1AiTacticsByTacticIdFeedback
      x-operation-id-source: derived
  /api/v1/Ai/game-design:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest'
      responses:
        '200':
          description: OK
      summary: Create api ai game design
      x-summary-source: derived
      operationId: postApiV1AiGameDesign
      x-operation-id-source: derived
  /api/v1/Ai/image-generation:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest'
      responses:
        '200':
          description: OK
      summary: Create api ai image generation
      x-summary-source: derived
      operationId: postApiV1AiImageGeneration
      x-operation-id-source: derived
  /api/v1/Ai/suggest-reward:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
          text/json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
          application/*+json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
      responses:
        '200':
          description: OK
      summary: Create api ai suggest reward
      x-summary-source: derived
      operationId: postApiV1AiSuggestReward
      x-operation-id-source: derived
  /api/v1/Ai/campaign-roi:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
          text/json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
          application/*+json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
      responses:
        '200':
          description: OK
      summary: Create api ai campaign roi
      x-summary-source: derived
      operationId: postApiV1AiCampaignRoi
      x-operation-id-source: derived
  /api/v1/Ai/audit:
    post:
      tags:
      - AI
      summary: On-demand audit endpoint.
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.AuditRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.AuditRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.API.Controllers.V1.AuditRequest'
      responses:
        '200':
          description: OK
      operationId: postApiV1AiAudit
      x-operation-id-source: derived
  /api/v1/Ai/brand-colors:
    post:
      tags:
      - AI
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: lang
        in: header
        schema:
          type: string
      - name: APIKey
        in: header
        required: true
        schema:
          type: string
          default: 8fdfd2dffd-9mnvhu25d6c3d
      - name: SecretKey
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.Branding.Models.BrandColorsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.Branding.Models.BrandColorsRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GameBall.Common.Connectors.Branding.Models.BrandColorsRequest'
      responses:
        '200':
          description: OK
      summary: Create api ai brand colors
      x-summary-source: derived
      operationId: postApiV1AiBrandColors
      x-operation-id-source: derived
components:
  schemas:
    GameBall.Common.ProcessResult.ProcessResultStatusCode:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
      - 13
      - 14
      - 15
      - 16
      - 17
      - 18
      - 19
      - 20
      - 21
      - 22
      - 50
      - 51
      - 52
      - 53
      - 54
      - 101
      - 102
      - 151
      - 152
      - 153
      - 154
      - 155
      - 156
      - 157
      - 158
      - 159
      - 160
      - 161
      - 162
      - 301
      - 302
      - 303
      - 304
      - 305
      - 306
      - 307
      - 308
      - 309
      - 310
      - 311
      - 312
      - 313
      - 314
      - 315
      - 316
      - 317
      - 318
      - 319
      - 320
      - 321
      - 322
      - 323
      - 324
      - 325
      - 326
      - 327
      - 328
      - 329
      - 330
      - 331
      - 332
      - 333
      - 334
      - 335
      - 337
      - 351
      - 401
      - 402
      - 403
      - 404
      - 405
      - 412
      - 413
      - 414
      - 415
      - 416
      - 417
      - 418
      - 419
      - 420
      - 421
      - 422
      - 423
      - 424
      - 425
      - 426
      - 427
      - 500
      - 503
      - 800
      - 801
      type: integer
      format: int32
    GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Boolean:
      type: object
      properties:
        isSucceeded:
          type: boolean
        methodName:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatus'
        data:
          type: boolean
      additionalProperties: false
    GameBall.BLL.ViewModels.AIInsights.OpportunityFeedbackRequest:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/GameBall.Common.Model.Enums.EOpportunityFeedback'
        reason:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.API.Controllers.V1.AskQuestionAboutDataRequest:
      type: object
      properties:
        question:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.String:
      type: object
      properties:
        isSucceeded:
          type: boolean
        methodName:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatus'
        data:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.Common.Connectors.Branding.Models.BrandColorsRequest:
      type: object
      properties:
        url:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.Common.Model.Enums.EOpportunityFeedback:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      type: integer
      format: int32
    GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateRequest:
      type: object
      properties:
        stream:
          type:
          - boolean
          - 'null'
        bgRemoval:
          type:
          - boolean
          - 'null'
        data:
          $ref: '#/components/schemas/GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateData'
      additionalProperties: false
    GameBall.BLL.ViewModels.AIInsights.AiCreatedChallengeSummaryViewModel:
      type: object
      properties:
        challengeId:
          type: integer
          format: int32
        internalName:
          type:
          - string
          - 'null'
        segmentName:
          type:
          - string
          - 'null'
        type:
          $ref: '#/components/schemas/GameBall.Common.Model.Enums.EChallengeBehaviorTypes'
        roiCost:
          type: number
          format: double
        roiRevenue:
          type: number
          format: double
      additionalProperties: false
    System.Text.Json.Nodes.JsonNode:
      type: object
      properties:
        options:
          $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNodeOptions'
        parent:
          $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
        root:
          $ref: '#/components/schemas/System.Text.Json.Nodes.JsonNode'
      additionalProperties: false
    GameBall.Common.Model.Enums.EChallengeBehaviorTypes:
      enum:
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
      - 13
      - 14
      - 15
      - 16
      - 17
      - 18
      - 19
      - 20
      - 21
      - 22
      - 23
      - 24
      - 25
      - 26
      - 27
      - 28
      - 29
      - 30
      - 31
      - 32
      - 33
      - 34
      - 35
      type: integer
      format: int32
    GameBall.API.Controllers.V1.AuditRequest:
      type: object
      properties:
        opportunityId:
          type:
          - integer
          - 'null'
          format: int32
        tacticId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    GameBall.Common.ProcessResult.ProcessResultStatus:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatusCode'
        message:
          type:
          - string
          - 'null'
      additionalProperties: false
    System.Text.Json.Nodes.JsonNodeOptions:
      type: object
      properties:
        propertyNameCaseInsensitive:
          type: boolean
      additionalProperties: false
    ? GameBall.Common.ProcessResult.ProcessResultViewModel_1_System.Collections.Generic.List_1_GameBall.BLL.ViewModels.AIInsights.AiCreatedChallengeSummaryViewModel
    : type: object
      properties:
        isSucceeded:
          type: boolean
        methodName:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/GameBall.Common.ProcessResult.ProcessResultStatus'
        data:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/GameBall.BLL.ViewModels.AIInsights.AiCreatedChallengeSummaryViewModel'
      additionalProperties: false
    GameBall.Common.Connectors.AIGateway.Models.AIGatewayGenerateData:
      type: object
      properties:
        message:
          type:
          - string
          - 'null'
      additionalProperties: false
    GameBall.API.Controllers.V1.MutationTacticGenerationRequest:
      type: object
      properties:
        mutationId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
x-provenance:
  method: harvested
  publisher: Gameball
  source: https://api.gameball.co/swagger/v1/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)