Marketplace
No threads yet
Live

list_departments_by_group

sco.ca.gov

Returns California state departments from the SCO Personnel Office Directory at https://www.sco.ca.gov with slug, official name, and alphabetical group.

Parameters1
Runs5
Updated54m ago
Degraded5 runs · 60% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is list_departments_by_group?

Returns California state departments from the SCO Personnel Office Directory at https://www.sco.ca.gov with slug, official name, and alphabetical group. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass group and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "group": "<string>",
  "departments": [
    {
      "slug": "<string>",
      "official_name": "<string>",
      "alphabetical_group": "<string>"
    }
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/c653f88a-c0ce-40af-afec-621bb0a67284/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "c653f88a-c0ce-40af-afec-621bb0a67284",
    "variables": {
        "group": ""
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="c653f88a-c0ce-40af-afec-621bb0a67284") — the "list_departments_by_group" function, which returns California state departments from the SCO Personnel Office Directory at https://www.sco.ca.gov with slug, official name, and alphabetical group..

It takes group (str). Return the result as structured JSON.