Admin

Upsert spec(s)

Body is one spec or an array, keyed by key within the program.

put/v1/admin/programs/{company}/{program}/specs

Request

  • Base URL: http://api.technooptimist.io
  • URL: http://api.technooptimist.io/v1/admin/programs/{company}/{program}/specs
  • Auth: HTTP bearer

Path parameters

companystring required
Example:helion
programstring required
Example:polaris

Headers

x-routine-namestring

Name of the routine making the write; recorded as routine:<name> in the audit log.

Example:news-scan

Request body

OR

Response

Updated program page

oktrue required

Example response

{
  "program": {
    "company": {
      "slug": "helion",
      "checkedAt": "2025-07-30T12:00:00.000Z"
    },
    "program": {
      "slug": "helion",
      "frontier": {
        "slug": "helion"
      },
      "field": {
        "slug": "helion"
      },
      "lastUpdateAt": "2025-07-30T12:00:00.000Z",
      "path": "/robotics/figure-03",
      "checkedAt": "2025-07-30T12:00:00.000Z"
    },
    "milestones": [
      {
        "date": {
          "date": "2025-07-01"
        },
        "originalTarget": {
          "date": "2025-07-01"
        }
      }
    ],
    "important": {
      "items": [
        {
          "occurredAt": "2025-07-30T12:00:00.000Z",
          "company": {
            "slug": "helion"
          },
          "program": {
            "slug": "helion",
            "frontier": "helion",
            "path": "/robotics/figure-03"
          },
          "frontiers": [
            "helion"
          ],
          "createdAt": "2025-07-30T12:00:00.000Z"
        }
      ]
    },
    "events": {
      "upcoming": [
        {
          "date": {
            "date": "2025-07-01"
          },
          "originalTarget": {
            "date": "2025-07-01"
          }
        }
      ],
      "past": [
        {
          "date": {
            "date": "2025-07-01"
          },
          "originalTarget": {
            "date": "2025-07-01"
          }
        }
      ]
    },
    "catalysts": [
      {
        "date": "2025-07-01"
      }
    ],
    "research": [
      {
        "date": "2025-07-01"
      }
    ],
    "siblings": [
      {
        "slug": "helion",
        "frontier": "helion",
        "path": "/robotics/figure-03"
      }
    ],
    "peers": [
      {
        "company": {
          "slug": "helion"
        },
        "slug": "helion",
        "path": "/robotics/figure-03"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.