Sambodh IAS Admin Question Flags API

The admin-question-flags API from Sambodh IAS — 9 operation(s) for admin-question-flags.

GitHub OpenAPI

Operations 9

GET /api/admin/question-flags List Queue #
GET /api/admin/question-flags/summary Summary #
GET /api/admin/question-flags/crowd-suspects Crowd Suspects #
GET /api/admin/question-flags/questions/{question_id} Get Group #
POST /api/admin/question-flags/questions/{question_id}/resolve Resolve Question #
POST /api/admin/question-flags/questions/{question_id}/regrade Regrade Question #
POST /api/admin/question-flags/questions/{question_id}/recheck Recheck Question #
POST /api/admin/question-flags/questions/{question_id}/proposal/regenerate Regenerate Proposal #
POST /api/admin/question-flags/questions/{question_id}/proposal/reject Reject Proposal #

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/sambodh-ias-in:sambodh-ias-in-admin-question-flags-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

sambodh-ias-in-admin-question-flags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SambodhIAS v2 Admin Question Flags API
  version: 2.0.0
tags:
- name: admin-question-flags
paths:
  /api/admin/question-flags:
    get:
      tags:
      - admin-question-flags
      summary: List Queue
      operationId: list_queue_api_admin_question_flags_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: open
          title: Status
      - name: reason
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
      - name: source_prefix
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Prefix
      - name: subject
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject
      - name: question_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Question Id
      - name: sort
        in: query
        required: false
        schema:
          type: string
          default: most_flagged
          title: Sort
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/summary:
    get:
      tags:
      - admin-question-flags
      summary: Summary
      operationId: summary_api_admin_question_flags_summary_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/crowd-suspects:
    get:
      tags:
      - admin-question-flags
      summary: Crowd Suspects
      description: MCQs where the most-chosen option is NOT the key and holds ≥ min_share of answers.
      operationId: crowd_suspects_api_admin_question_flags_crowd_suspects_get
      parameters:
      - name: min_answers
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 3
          default: 8
          title: Min Answers
      - name: min_share
        in: query
        required: false
        schema:
          type: number
          maximum: 1.0
          minimum: 0.3
          default: 0.5
          title: Min Share
      - name: include_dismissed
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Dismissed
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/questions/{question_id}:
    get:
      tags:
      - admin-question-flags
      summary: Get Group
      operationId: get_group_api_admin_question_flags_questions__question_id__get
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Question Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/questions/{question_id}/resolve:
    post:
      tags:
      - admin-question-flags
      summary: Resolve Question
      operationId: resolve_question_api_admin_question_flags_questions__question_id__resolve_post
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Question Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/questions/{question_id}/regrade:
    post:
      tags:
      - admin-question-flags
      summary: Regrade Question
      operationId: regrade_question_api_admin_question_flags_questions__question_id__regrade_post
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Question Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/questions/{question_id}/recheck:
    post:
      tags:
      - admin-question-flags
      summary: Recheck Question
      operationId: recheck_question_api_admin_question_flags_questions__question_id__recheck_post
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Question Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/questions/{question_id}/proposal/regenerate:
    post:
      tags:
      - admin-question-flags
      summary: Regenerate Proposal
      operationId: regenerate_proposal_api_admin_question_flags_questions__question_id__proposal_regenerate_post
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Question Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/question-flags/questions/{question_id}/proposal/reject:
    post:
      tags:
      - admin-question-flags
      summary: Reject Proposal
      operationId: reject_proposal_api_admin_question_flags_questions__question_id__proposal_reject_post
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Question Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    QuestionPatch:
      properties:
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
        options:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Options
        correct_answer:
          anyOf:
          - type: string
          - type: 'null'
          title: Correct Answer
        explanation:
          anyOf:
          - type: string
          - type: 'null'
          title: Explanation
        difficulty:
          anyOf:
          - type: string
          - type: 'null'
          title: Difficulty
        subject:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject
        topic:
          anyOf:
          - type: string
          - type: 'null'
          title: Topic
        model_answer:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Answer
        key_points:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Key Points
      type: object
      title: QuestionPatch
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ResolveRequest:
      properties:
        resolution:
          type: string
          enum:
          - fixed
          - retired
          - no_issue
          title: Resolution
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
        patch:
          anyOf:
          - $ref: '#/components/schemas/QuestionPatch'
          - type: 'null'
        regrade:
          type: boolean
          title: Regrade
          default: false
        from_proposal:
          type: boolean
          title: From Proposal
          default: false
      type: object
      required:
      - resolution
      title: ResolveRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError