Softkiln Initiatives API

The initiatives API from Softkiln — 9 operation(s) for initiatives.

GitHub OpenAPI

Operations 13

GET /api/orgs/{slug}/initiatives List Initiatives #
POST /api/orgs/{slug}/initiatives Create Initiative #
GET /api/orgs/{slug}/initiatives/context Get Context #
PUT /api/orgs/{slug}/initiatives/context Put Context #
GET /api/orgs/{slug}/initiatives/{number} Get Initiative #
PATCH /api/orgs/{slug}/initiatives/{number} Update Initiative #
DELETE /api/orgs/{slug}/initiatives/{number} Delete Initiative #
POST /api/orgs/{slug}/initiatives/{number}/submit Submit Initiative #
POST /api/orgs/{slug}/initiatives/{number}/ai/{kind} Request Ai #
POST /api/orgs/{slug}/initiatives/{number}/withdraw Withdraw Initiative #
POST /api/orgs/{slug}/initiatives/{number}/request-changes Request Changes #
POST /api/orgs/{slug}/initiatives/{number}/reject Reject Initiative #
POST /api/orgs/{slug}/initiatives/{number}/approve Approve Initiative #

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/softkiln-com:softkiln-com-initiatives-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

softkiln-com-initiatives-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: App Manager Initiatives API
  version: 0.1.0
tags:
- name: initiatives
paths:
  /api/orgs/{slug}/initiatives:
    get:
      tags:
      - initiatives
      summary: List Initiatives
      operationId: list_initiatives_api_orgs__slug__initiatives_get
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeListOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - initiatives
      summary: Create Initiative
      operationId: create_initiative_api_orgs__slug__initiatives_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InitiativeIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/context:
    get:
      tags:
      - initiatives
      summary: Get Context
      description: 'The org''s context for the AI. Owners and admins: it describes the

        organization''s priorities and policies, which members may not all see.'
      operationId: get_context_api_orgs__slug__initiatives_context_get
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - initiatives
      summary: Put Context
      operationId: put_context_api_orgs__slug__initiatives_context_put
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContextIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}:
    get:
      tags:
      - initiatives
      summary: Get Initiative
      operationId: get_initiative_api_orgs__slug__initiatives__number__get
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - initiatives
      summary: Update Initiative
      operationId: update_initiative_api_orgs__slug__initiatives__number__patch
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InitiativePatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - initiatives
      summary: Delete Initiative
      operationId: delete_initiative_api_orgs__slug__initiatives__number__delete
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}/submit:
    post:
      tags:
      - initiatives
      summary: Submit Initiative
      operationId: submit_initiative_api_orgs__slug__initiatives__number__submit_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}/ai/{kind}:
    post:
      tags:
      - initiatives
      summary: Request Ai
      description: 'Ask for a structuring (its author, or a reviewer) or an evaluation (a

        reviewer). Answers at once with the run queued; the page polls the detail.

        A run already queued or running is returned rather than doubled.'
      operationId: request_ai_api_orgs__slug__initiatives__number__ai__kind__post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      - name: kind
        in: path
        required: true
        schema:
          type: string
          title: Kind
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}/withdraw:
    post:
      tags:
      - initiatives
      summary: Withdraw Initiative
      operationId: withdraw_initiative_api_orgs__slug__initiatives__number__withdraw_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}/request-changes:
    post:
      tags:
      - initiatives
      summary: Request Changes
      operationId: request_changes_api_orgs__slug__initiatives__number__request_changes_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommentIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}/reject:
    post:
      tags:
      - initiatives
      summary: Reject Initiative
      operationId: reject_initiative_api_orgs__slug__initiatives__number__reject_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommentIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/orgs/{slug}/initiatives/{number}/approve:
    post:
      tags:
      - initiatives
      summary: Approve Initiative
      description: 'Approve, and create the product: Pro, billed to the org, owned by

        `owner_user_id`.


        Order matters. Everything that can refuse runs first and writes nothing:

        the state and the owner, the name, the org''s card and the caps, the billing

        plan. Then the decision is CLAIMED — status approved, committed — before

        any provisioning, so a second approval racing this one finds it decided

        and gets a 409 rather than creating a second product. If creating the

        product row then fails, the claim is undone.'
      operationId: approve_initiative_api_orgs__slug__initiatives__number__approve_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApproveIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InitiativeOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EventOut:
      properties:
        action:
          type: string
          title: Action
        from_status:
          type: string
          title: From Status
        to_status:
          type: string
          title: To Status
        user:
          anyOf:
          - $ref: '#/components/schemas/PersonOut'
          - type: 'null'
        comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Comment
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - action
      - from_status
      - to_status
      - user
      - comment
      - created_at
      title: EventOut
    InitiativeSummaryOut:
      properties:
        number:
          type: integer
          title: Number
        title:
          type: string
          title: Title
        status:
          type: string
          title: Status
        author:
          anyOf:
          - $ref: '#/components/schemas/PersonOut'
          - type: 'null'
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        submitted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Submitted At
        decided_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Decided At
        product:
          anyOf:
          - $ref: '#/components/schemas/ProductOut'
          - type: 'null'
        is_mine:
          type: boolean
          title: Is Mine
      type: object
      required:
      - number
      - title
      - status
      - author
      - created_at
      - updated_at
      - submitted_at
      - decided_at
      - product
      - is_mine
      title: InitiativeSummaryOut
    InitiativeIn:
      properties:
        title:
          type: string
          title: Title
        content:
          additionalProperties:
            anyOf:
            - type: string
            - type: 'null'
          type: object
          title: Content
          default: {}
      additionalProperties: false
      type: object
      required:
      - title
      title: InitiativeIn
    InitiativeOut:
      properties:
        number:
          type: integer
          title: Number
        title:
          type: string
          title: Title
        status:
          type: string
          title: Status
        author:
          anyOf:
          - $ref: '#/components/schemas/PersonOut'
          - type: 'null'
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        submitted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Submitted At
        decided_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Decided At
        product:
          anyOf:
          - $ref: '#/components/schemas/ProductOut'
          - type: 'null'
        is_mine:
          type: boolean
          title: Is Mine
        content:
          additionalProperties: true
          type: object
          title: Content
        assigned_owner:
          anyOf:
          - $ref: '#/components/schemas/PersonOut'
          - type: 'null'
        decided_by:
          anyOf:
          - $ref: '#/components/schemas/PersonOut'
          - type: 'null'
        events:
          items:
            $ref: '#/components/schemas/EventOut'
          type: array
          title: Events
        can_edit:
          type: boolean
          title: Can Edit
        can_submit:
          type: boolean
          title: Can Submit
        can_withdraw:
          type: boolean
          title: Can Withdraw
        can_delete:
          type: boolean
          title: Can Delete
        can_review:
          type: boolean
          title: Can Review
        approval_billing:
          anyOf:
          - type: string
          - type: 'null'
          title: Approval Billing
        ai:
          $ref: '#/components/schemas/AiOut'
      type: object
      required:
      - number
      - title
      - status
      - author
      - created_at
      - updated_at
      - submitted_at
      - decided_at
      - product
      - is_mine
      - content
      - assigned_owner
      - decided_by
      - events
      - can_edit
      - can_submit
      - can_withdraw
      - can_delete
      - can_review
      - ai
      title: InitiativeOut
    ContextIn:
      properties:
        context:
          additionalProperties: true
          type: object
          title: Context
      additionalProperties: false
      type: object
      required:
      - context
      title: ContextIn
    PersonOut:
      properties:
        user_id:
          type: string
          title: User Id
        email:
          type: string
          title: Email
      type: object
      required:
      - user_id
      - email
      title: PersonOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ContextOut:
      properties:
        context:
          additionalProperties: true
          type: object
          title: Context
        text_fields:
          items:
            type: string
          type: array
          title: Text Fields
        list_fields:
          items:
            type: string
          type: array
          title: List Fields
        can_edit:
          type: boolean
          title: Can Edit
      type: object
      required:
      - context
      - text_fields
      - list_fields
      - can_edit
      title: ContextOut
    InitiativeListOut:
      properties:
        initiatives:
          items:
            $ref: '#/components/schemas/InitiativeSummaryOut'
          type: array
          title: Initiatives
        is_reviewer:
          type: boolean
          title: Is Reviewer
        fields:
          items:
            type: string
          type: array
          title: Fields
        ai_available:
          type: boolean
          title: Ai Available
          default: false
      type: object
      required:
      - initiatives
      - is_reviewer
      - fields
      title: InitiativeListOut
    InitiativePatch:
      properties:
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        content:
          anyOf:
          - additionalProperties:
              anyOf:
              - type: string
              - type: 'null'
            type: object
          - type: 'null'
          title: Content
      additionalProperties: false
      type: object
      title: InitiativePatch
    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
    AiOut:
      properties:
        available:
          type: boolean
          title: Available
        structure:
          anyOf:
          - $ref: '#/components/schemas/AiRunOut'
          - type: 'null'
        evaluation:
          anyOf:
          - $ref: '#/components/schemas/AiRunOut'
          - type: 'null'
        can_structure:
          type: boolean
          title: Can Structure
          default: false
        can_evaluate:
          type: boolean
          title: Can Evaluate
          default: false
      type: object
      required:
      - available
      title: AiOut
    ProductOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        display_name:
          type: string
          title: Display Name
        provisioning_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Provisioning Status
      type: object
      required:
      - id
      - name
      - display_name
      - provisioning_status
      title: ProductOut
    CommentIn:
      properties:
        comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Comment
      additionalProperties: false
      type: object
      title: CommentIn
    ApproveIn:
      properties:
        owner_user_id:
          type: string
          title: Owner User Id
        app_name:
          type: string
          title: App Name
        comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Comment
      additionalProperties: false
      type: object
      required:
      - owner_user_id
      - app_name
      title: ApproveIn
    AiRunOut:
      properties:
        status:
          type: string
          title: Status
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        requested_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Requested At
        result:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Result
        result_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Result At
      type: object
      required:
      - status
      title: AiRunOut